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
を使用した場合に、無限ループになってしまうバグがあったのを修正しています。