<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k-tsuchiya_dz</author_name>
  <author_url>https://blog.hatena.ne.jp/k-tsuchiya_dz/</author_url>
  <blog_title>Zenet Tech Blog</blog_title>
  <blog_url>https://media.zenet-web.co.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>ゼネットの土屋です。 先日Rails 7.2 Beta 1について投稿させていただきました。 その際、大きな変更点については触れましたが、非推奨への変更については触れませんでした。 media.zenet-web.co.jp 今回はRails 7.2で非推奨となる「enumでキーワード引数を使用した列挙型の定義」について触れていきたいと思います。 非推奨警告の内容 modelのenum定義がキーワード引数を使用した列挙型の場合、下記のような非推奨警告が出力されます。 DEPRECATION WARNING: Defining enums with keyword arguments is de…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmedia.zenet-web.co.jp%2Fentry%2F2024%2F07%2F01%2F085407&quot; title=&quot;Rails 7.2のenum非推奨警告を回避する方法と修正ポイント - Zenet Tech 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-ak.f.st-hatena.com/images/fotolife/z/zenet-tech/20240630/20240630230945.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-07-01 08:54:07</published>
  <title>Rails 7.2のenum非推奨警告を回避する方法と修正ポイント</title>
  <type>rich</type>
  <url>https://media.zenet-web.co.jp/entry/2024/07/01/085407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
