<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>euglena1215</author_name>
  <author_url>https://blog.hatena.ne.jp/euglena1215/</author_url>
  <blog_title>カレーの恩返し</blog_title>
  <blog_url>https://euglena1215.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>3行まとめ Rails 7.1 から dup, freeze, hash, object_id, class, clone, frozen は column 名や enum の種類として使えなくなる可能性が高い 該当 column を持つ Model の initialize で ActiveRecord::DangerousAttributeError が発生する 各位そういった名前を使わない、rename するなど身構えておきましょう 起きていた問題 会社の Rails アプリケーションに対して rails/rails の main branch を使ってテストを走らせていたら以下のような…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feuglena1215.hatenablog.jp%2Fentry%2F2023%2F06%2F11%2F141841&quot; title=&quot;Rails7.1からcolumn,enum名に使えない名前が増える可能性が高いので注意 - カレーの恩返し&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>2023-06-11 14:18:41</published>
  <title>Rails7.1からcolumn,enum名に使えない名前が増える可能性が高いので注意</title>
  <type>rich</type>
  <url>https://euglena1215.hatenablog.jp/entry/2023/06/11/141841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
