2022/01/25分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #44216 from p8/activerecord/show-changed-in-lock-error
activerecord/lib/active_record/locking/pessimistic.rb
の修正です。
pessimistic lock errorが発生した場合に、エラーメッセージに変更になったattributeの一覧を含むよう修正しています。
Merge pull request #44191 from dorianmariefr/fix-record-changed-defined-by-record-association
activerecord/lib/active_record/autosave_association.rb
の修正です。
record
という名前のasssocationを定義しているmodelをsaveする際にエラーになってしまうバグ(AutosaveAssociation
moduleで定義しているメソッドをassociationでoverrideしてしまっていた)があったのを修正しています。
fix que integration in Active Job tests part 2
activejob/test/support/que/inline.rb
の修正です。
que 1.0でActive Jobのテストが通らなくなっていたのを対応しています。なお、アドホックな対応らしく、正式な対応は別途que側で調査をする予定との事です。
参考: Que 1.0 failing in Active Job tests
Merge pull request #44247 from orhantoy/rm-AS-LoggerThreadSafeLevel-add
activesupport/lib/active_support/logger_thread_safe_level.rb
の修正です。
Ruby 2.7以上をサポートする事により不要になったLoggerThreadSafeLevel#add
のパッチを削除しています。
Use released version of pg 1.3
Gemfile
の修正です。
pg 1.3を使用するよう修正しています。
Fixes a typo in the ActiveRecord encryption documentation
rails guideのActive Record Encryption
の修正です。
active_record.encryption
をactive_record_encryption
にタイポしていたのを修正しています。