<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higan_n</author_name>
  <author_url>https://blog.hatena.ne.jp/higan_n/</author_url>
  <blog_title>higan96技術メモ</blog_title>
  <blog_url>https://higan96.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>sessionに保存されたHashの挙動がストア前後で変わる。 session[:test_data] = {hoge: ‘fizz’, fuga: ‘buzz’ } としたとき、session[:test_data]の中身は {:hoge =&gt;’fizz’, :fuga =&gt; ‘buzz’} となる。 しかしこれが別のアクションで使用するとき、つまり一度ストアされると、 {‘hoge’ =&gt;’fizz’, ‘fuga’ =&gt; ‘buzz’} このように、keyがシンボルから文字列に変わっている。これ、stackoverflowにも質問がありました。 session - Ruby on Rai…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigan96.hatenablog.com%2Fentry%2F2014%2F05%2F12%2F131157&quot; title=&quot;sessionに保存されたHashの挙動がストア前後で変わる。 - higan96技術メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-05-12 13:11:57</published>
  <title>sessionに保存されたHashの挙動がストア前後で変わる。</title>
  <type>rich</type>
  <url>https://higan96.hatenablog.com/entry/2014/05/12/131157</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
