2021/06/08分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #42348 from HParker/duration-to-ISO8601-avoid-scientific-notation
activesupport/lib/active_support/duration/iso8601_serializer.rb
の修正です。
ISO8601用のformatterで%g
を使用しないよう修正しています。指数表現にならないようにする為(%g
は指数が-4より小さいか精度以上の場合に指数表現になる)。
Merge pull request #42370 from sunny/better-error-message-when-encrypted-file-key-is-blank
activesupport/lib/active_support/encrypted_file.rb
の修正です。
RAILS_MASTER_KEY
envが空の場合、encrypted file read時にActiveSupport::EncryptedFile::MissingKeyError
をraiseするよう修正しています。
Return "test" as the controller_name in ActionView tests
Action Pack、Action Viewの修正です。
ActionView::TestCase
でcontroller_name
がnilになってしまうバグがあったのを修正しています。
Improve AS::TimeWithZone
error message on NoMethodError
activesupport/lib/active_support/time_with_zone.rb
の修正です。
ActiveSupport::TimeWithZone
でNoMethodError
が発生した場合のエラーメッセージ内のTime
をActiveSupport::TimeWithZone
に置換するよう修正しています。Time
インスタンスを使用している場合にも発生する可能性がある処理の為。
activerecord/lib/active_record/associations.rb
のdocの修正です。
disable_joins
に関する説明が他のオプションの説明内に混ざってしまっていたのを修正しています。