2021/03/10分のコミットです。
CHANGELOGへの追加はありませんでした。
Deletes AS::Dependencies.warnings_on_first_load
activesupport/lib/active_support/dependencies.rb
の修正です。
不要になったActiveSupport::Dependencies.warnings_on_first_load
を削除しています。
Replaces references to internal AS::Dependencies attributes in the AS guide
rails guideのActive Support Core Extensions
の修正です。
mattr_reader
について説明している箇所のexampleとして、既に存在しないActiveSupport::Dependencies
のattributesが使用されていたのを、ActiveStorage
を使用するよう修正しています。
Merge pull request #41648 from alkesh26/fixed-incorrect-changelog-output
activesupport/CHANGELOG.md
の修正です。
Enumerable#maximum
メソッドについてのエントリー内のexampleコードの結果が、実際の結果と異なっていたのを修正しています。
Fix between stringify enum values to return the expected result
activerecord/lib/active_record/enum.rb
の修正です。
enumのcast処理で、指定された値がmappingに定義されていない場合、 subtypeでcast処理を行うよう修正しています。
Use serializable?
instead of rescue ::RangeError
activemodel/lib/active_model/attribute.rb
、
activerecord/lib/active_record/relation/query_attribute.rb
の修正です。
値が定義域外だった場合の対応を、RangeError
をrescueする事で対応していたのを、serializable?
でチェックするよう修正しています。