2022/02/09分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Fix PG.connect keyword arguments deprecation warning on ruby 2.7
- Reversed the order of
INSERTstatements instructure.sqldumps
Add job_id and exception message to ActiveJob retry/discard logging
activejob/lib/active_job/log_subscriber.rbの修正です。
Acitve Jobのretry/discardのログに、job idとexception messageを含むよう修正しています。
Merge pull request #44329 from attack/mg-encryption-exclusion
activerecord/lib/active_record/encryption/configurable.rbの修正です。
ActiveRecord::Encryptionのparamsのfilter処理で変数名をタイポしていたのを修正しています。
Merge pull request #44284 from skateman/activerecord-arel-order-hash
activerecord/lib/active_record/relation/query_methods.rbの修正です。
orderのkeyにArel::Nodes::Node、Arel::Attributeを指定した場合も動作するよう修正しています。
Merge pull request #44354 from rails/to-fs-as-the-primary
deprecatedになった#to_s(:format)の代わりに、#to_fsメソッドを使用出来るよう修正しています。元々は、#to_formatted_sメソッドがその用途に追加されたのですが、頻繁に使うメソッドとしては名前が長い、という事になり、#to_fsメソッドが追加されました。
Merge pull request #44347 from nvasilevski/fix-postgresql-reconnection-test-assertion
activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rbの修正です。
reconnectでエラーになる事を確認するテストで、expectに指定するexceptionが誤っていたのを修正しています。
Fix install_auto_filtered_parameters method rename
activerecord/test/cases/encryption/configurable_test.rbの修正です。
Setup on_encrypted_attribute_declared hook only onceでinstall_auto_filtered_parametersがinstall_auto_filtered_parameters_hookにリネームされたのですが、古い方の名称を参照している箇所が残っていたのを修正しています。
Fix PG.connect keyword arguments deprecation warning on ruby 2.7
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rbの修正です。
PG.connect呼び出し時にキーワード引数に関するwarningが出る事があったのを修正しています。
Reverse the order of INSERT statements in structure.sql dumps
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rbの修正です。
structure.sqlを生成する際に、INSERT statementsをreverseしてから出力するよう修正しています。schema_migrationsのINSERT statementsをコンフリしづらくする為。
Fix empty request inside helpers test
actionview/lib/action_view/test_case.rbの修正です。
ActionView::TestCaseでrequestオブジェクトを参照出来るよう修正しています。
Merge pull request #44367 from shioyama/improve_activemodel_attribute_methods_naming
activemodel/lib/active_model/attribute_methods.rbの修正です。
ActiveModel::AttributeMethods配管のmoduleやaccessorをより適切な名前にリファクタリングしています。