<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakku22</author_name>
  <author_url>https://blog.hatena.ne.jp/kakku22/</author_url>
  <blog_title>kakakakakku blog</blog_title>
  <blog_url>https://kakakakakku.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Gem</anon>
  </categories>
  <description>先週に引き続き Rails 移行検証をしていて，既存のテーブルに hash カラムが存在していると ActiveRecord で ActiveRecord::DangerousAttributeError が発生する問題を発見した．少し調べてみたので残しておく．正確に言うと hash だけじゃなくて ActiveRecord::Base に実装されているメソッド名は基本的にダメっていう理解で正しいと思う．例えば save もそう． ActiveRecord::DangerousAttributeError: hash is defined by Active Record. Check to …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakakakakku.hatenablog.com%2Fentry%2F2015%2F10%2F20%2F005017&quot; title=&quot;&amp;quot;hash is defined by Active Record&amp;quot; って怒られた - kakakakakku 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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-20 00:50:17</published>
  <title>&quot;hash is defined by Active Record&quot; って怒られた</title>
  <type>rich</type>
  <url>https://kakakakakku.hatenablog.com/entry/2015/10/20/005017</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
