2025/04/07分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Add support for filtering notes by tag in /rails/info/notes
railties/lib/rails/info_controller.rb、
railties/lib/rails/templates/rails/info/notes.html.erbの修正です。
/rails/info/notesでtagによるフィルタリングを出来るよう修正しています。
Move AbstractAdapter#valid_type? to a class method
Active Recordの修正です。
model generatorが指定されたtypeが有効化どうかをチェックする際にdatabaseに接続していたのを、databaseに接続せずチェック出来るよう修正しています。実際は定数との比較でチェックをしており、databaseの接続は不要だった為。
Fix create_or_find_by not rolling back a transaction:
activerecord/lib/active_record/relation.rbの修正です。
transaction内でcreate_or_find_byを使用した場合に、transactionをrollbackした際にcreate_or_find_byで作成したデータがrollbackしない(作成されたままになる)バグがあったのを修正しています。
Merge pull request #54871 from adityapandit17/tests/rails_storage_proxy_content_header
activestorage/test/controllers/blobs/proxy_controller_test.rbの修正です。
rails_storage_proxyのレスポンスにContent-Length headerが含まれている事を確認するテストを追加しています。
Merge pull request #54341 from fatkodima/enumerable-sole-infinite-collections
Active Supportの修正です。
Enumerable#soleについて、性能改善のリファクタリング、及び、infinite collectionsに対して#soleを使用した場合に、無限ループになってしまうバグがあったのを修正しています。