2021/03/22分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Active Recordのテストの修正です。
各テストファイルから不要な空行を削除しています。
Allow both current_page?(url_hash)
and current_page?(**url_hash)
on Ruby 2.7
actionview/lib/action_view/helpers/url_helper.rb
の修正です。
current_page?
に対して、Ruby 2.7でurl_hash
、**url_hash
どちらの形式でも指定出来るよう対応しています。
Revert "Passing in a Hash instance as non-kwargs parameters has to be curly braced now"
actionview/test/template/url_helper_test.rb
の修正です。
先の対応により不要になったcurrent_page?
メソッドの引数へのcurly braceの指定を削除しています。
Merge pull request #41602 from intrip/40550-fix-throw-abort-on-belongs-to-third-level-rollback
activerecord/lib/active_record/associations/belongs_to_association.rb
の修正です。
belongs
のdependent :destroy
がnestしている場合に、親レコードの削除処理でabort
がthrow
された場合にも、レコードの削除処理が継続してしまうバグがあったのを修正しています。
Fix Float::INFINITY assignment to datetime attributes
activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
の修正です。
datetime columsにFloat::INFINITY
を指定した場合に、値がnilになってしまうバグがあったのを修正しています。
Make infinity handling symmetrical in cast and deserialize
activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
の修正です。
cast
とdeserialize
メソッドで、infinityに対する処理が対になるよう修正しています。
Remove some references to OrderedHash
Active Supportの修正です。
deprecatedになっているOrderedHash
についての説明を各docから削除、及び、使用していないactive_support/ordered_hash
に関するrequireを削除しています。