2022/10/31分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #46380 from jonathanhefner/active_record-pending_migrations_test-isolate-db
activerecord/test/cases/migration/pending_migrations_test.rb
の修正です。
pending migrationテスト用のDBを作成する際に、他のテストで使用しているDBと同じファイル名のDBを使用しないよう修正しています。同じDBを使用するとテストの順番によってエラーになってしまう事がある為。
Merge pull request #46381 from jonathanhefner/action_mailer-deprecator
Action Mailerの修正です。
Action Mailer専用のdeprecator(ActionMailer.deprecator
)を追加、及び、Action mailerでActiveSupport::Deprecation
を使用していた箇所を、ActionMailer.deprecator
を使用するよう修正しています。ActionMailer.deprecator
はRails.application.deprecators
追加されるようになっており、Rails.application.deprecators[:action_mailer]
で参照出来るようになっています。
Fix a typo in missing_exact_template.html.erb
actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb
の修正です。
エラーメッセージ内のテンプレートファイル名の例の値にタイポがあったのを修正しています。