なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2022/10/17)

2022/10/17分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activemodel/CHANGELOG.md


adds documentation for flag --primary-key-type=uuid passed to Rails model generator

rails guideのActive Record and PostgreSQLの修正です。

UUID Primary Keysの項に、model generatorの--primary-key-typeオプションについての説明を追加しています。


ActiveJob: Add parent option to Active Job guides [ci-skip]

rails guideのActive Job Basicsの修正です。

Create the Jobの項に、job generatorの--parentオプションについての説明を追加しています。


Bump Puma to v6.0.0

railties/lib/rails/generators/app_base.rbの修正です。

新規に作成したアプリケーションで、Puma 6.0以上が使用出来るようバージョンの指定を修正しています。


Avoid unnecessary serialize calls after save

activemodel/lib/active_model/attribute.rbactiverecord/lib/active_record/relation/query_attribute.rbの修正です。

record保存後に不要なserialize処理が実行されないよう修正しています。


Avoid double cast in types that only override cast

Active Model、Active Recordの修正です。

Active Modelの標準のtypeを継承したcustom attributes typeについて、DB用に値のserializeをする際に、不要なcast処理が実行されにないよう修正しています。