2023/11/18分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activestorage/CHANGELOG.md
docs: Fix small typographical errors in #find_or_create_by docs
activerecord/lib/active_record/relation.rb
のdocの修正です。
find_or_create_by
メソッドのdoc内のグラマーの修正を行っています。
Discard unrepresentable blobs while preprocessing
activestorage/app/jobs/active_storage/transform_job.rb
、
activestorage/app/models/active_storage/blob/representable.rb
の修正です。
preprocessed: true
を指定している場合に、representableではないblobがtransform jobにenqueuされないよう修正しています。job実行時にエラーになってしまうのを避ける為。
Add CHANGELOG entry for #50082 [ci-skip]
先のActive Storageの対応についてCHANGLOGにエントリーを追加しています。
Fix rails console to work with DATABASE_URL
for PostgreSQL
activerecord/lib/active_record/railtie.rb
の修正です。
PostgreSQLを使用している場合に、DATABASE_URL
envを指定してのrails console
の実行がエラーになってしまうバグがあったのを修正しています。
activejob/lib/active_job/arguments.rb
の修正です。
String
のサブクラスを引数に扱う独自のserializerを定義している場合に、serialize処理がエラーになってしまうバグがあったのを修正しています。