{"width":"100%","url":"https://euglena1215.hatenablog.jp/entry/2023/06/11/141841","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Feuglena1215.hatenablog.jp%2Fentry%2F2023%2F06%2F11%2F141841\" title=\"Rails7.1\u304b\u3089column,enum\u540d\u306b\u4f7f\u3048\u306a\u3044\u540d\u524d\u304c\u5897\u3048\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u306e\u3067\u6ce8\u610f - \u30ab\u30ec\u30fc\u306e\u6069\u8fd4\u3057\" 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","description":"3\u884c\u307e\u3068\u3081 Rails 7.1 \u304b\u3089 dup, freeze, hash, object_id, class, clone, frozen \u306f column \u540d\u3084 enum \u306e\u7a2e\u985e\u3068\u3057\u3066\u4f7f\u3048\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044 \u8a72\u5f53 column \u3092\u6301\u3064 Model \u306e initialize \u3067 ActiveRecord::DangerousAttributeError \u304c\u767a\u751f\u3059\u308b \u5404\u4f4d\u305d\u3046\u3044\u3063\u305f\u540d\u524d\u3092\u4f7f\u308f\u306a\u3044\u3001rename \u3059\u308b\u306a\u3069\u8eab\u69cb\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046 \u8d77\u304d\u3066\u3044\u305f\u554f\u984c \u4f1a\u793e\u306e Rails \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u3057\u3066 rails/rails \u306e main branch \u3092\u4f7f\u3063\u3066\u30c6\u30b9\u30c8\u3092\u8d70\u3089\u305b\u3066\u3044\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/euglena1215/","title":"Rails7.1\u304b\u3089column,enum\u540d\u306b\u4f7f\u3048\u306a\u3044\u540d\u524d\u304c\u5897\u3048\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u306e\u3067\u6ce8\u610f","height":"190","published":"2023-06-11 14:18:41","image_url":null,"blog_url":"https://euglena1215.hatenablog.jp/","version":"1.0","blog_title":"\u30ab\u30ec\u30fc\u306e\u6069\u8fd4\u3057","provider_url":"https://hatena.blog","author_name":"euglena1215","categories":["Rails","Ruby"]}