{"title":"\"hash is defined by Active Record\" \u3063\u3066\u6012\u3089\u308c\u305f","published":"2015-10-20 00:50:17","author_name":"kakku22","categories":["Rails","Gem"],"image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","type":"rich","height":"190","blog_title":"kakakakakku blog","blog_url":"https://kakakakakku.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakakakakku.hatenablog.com%2Fentry%2F2015%2F10%2F20%2F005017\" title=\"&quot;hash is defined by Active Record&quot; \u3063\u3066\u6012\u3089\u308c\u305f - kakakakakku blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","author_url":"https://blog.hatena.ne.jp/kakku22/","url":"https://kakakakakku.hatenablog.com/entry/2015/10/20/005017","description":"\u5148\u9031\u306b\u5f15\u304d\u7d9a\u304d Rails \u79fb\u884c\u691c\u8a3c\u3092\u3057\u3066\u3044\u3066\uff0c\u65e2\u5b58\u306e\u30c6\u30fc\u30d6\u30eb\u306b hash \u30ab\u30e9\u30e0\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u3068 ActiveRecord \u3067 ActiveRecord::DangerousAttributeError \u304c\u767a\u751f\u3059\u308b\u554f\u984c\u3092\u767a\u898b\u3057\u305f\uff0e\u5c11\u3057\u8abf\u3079\u3066\u307f\u305f\u306e\u3067\u6b8b\u3057\u3066\u304a\u304f\uff0e\u6b63\u78ba\u306b\u8a00\u3046\u3068 hash \u3060\u3051\u3058\u3083\u306a\u304f\u3066 ActiveRecord::Base \u306b\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u540d\u306f\u57fa\u672c\u7684\u306b\u30c0\u30e1\u3063\u3066\u3044\u3046\u7406\u89e3\u3067\u6b63\u3057\u3044\u3068\u601d\u3046\uff0e\u4f8b\u3048\u3070 save \u3082\u305d\u3046\uff0e ActiveRecord::DangerousAttributeError: hash is defined by Active Record. Check to \u2026","version":"1.0"}