<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chibiccooooo</author_name>
  <author_url>https://blog.hatena.ne.jp/chibiccooooo/</author_url>
  <blog_title>chibicco's blog</blog_title>
  <blog_url>https://blog.chibicco.dev/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>はじめに StringとSymbolで同一名のKeyを持つHashはやめよう {'id' =&gt; 10, :id =&gt; 11, 'name' =&gt; 'AAA', :name =&gt; 'BBB'} 遭遇 ruby2.4+rails Hash.transform_keys!が特定の状況でsymbolize_keys(非破壊)と互換のない挙動をする ruby2.5.2+rails ruby2.5で同関数が実装された事で正常に動作する 確認 ruby2.4+rails symbolが先の場合 [1] pry(main)&gt; {:id =&gt; 10, 'id' =&gt; 11, :name =&gt; 'AAA', 'n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.chibicco.dev%2Fentry%2F2019%2F04%2F09%2F094304&quot; title=&quot;ActiveSupportのsymbolize_keys!が挙動不審だった件 - chibicco&amp;#39;s blog&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>2019-04-09 09:43:04</published>
  <title>ActiveSupportのsymbolize_keys!が挙動不審だった件</title>
  <type>rich</type>
  <url>https://blog.chibicco.dev/entry/2019/04/09/094304</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
