2022/04/01分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Improve default message for assert_changes
activesupport/lib/active_support/testing/assertions.rb
の修正です。
assert_changes
のデフォルトのメッセージに期待していた値だけでなく、実際に取得した値を含むよう修正しています。
Really deprecate comparing AC::Parameters with a hash
actionpack/lib/action_controller/metal/strong_parameters.rb
の修正です。
Deprecate AC::Parameters#== with HashでdeprecateにしたActionController::Parameters
とHashの比較処理が実はまだサポートされてしまっていた為、再度deprecatedにするよう修正しています。
Change rss
to RSS
in ImageLinkToTag
actionview/test/template/asset_tag_helper_test.rb
の修正です。
rss
をRSS
に修正しています。
Document a use case for autoloading in after_initialize
rails guideのAutoloading and Reloading Constants
の修正です。
after_initialize
でautoloadingを使用するユースケースについての説明を追加しています。
Merge pull request #44816 from gmcgibbon/ac_params_dont_delegate_values_to_hash
actionpack/lib/action_controller/metal/strong_parameters.rb
の修正です。
nestしたパラメータを指定した場合に、ActionController::Parameters#values
が正しい値を返すよう修正しています。
Fix db:prepare
task to create/migrate test db when dev db already exists
activerecord/lib/active_record/tasks/database_tasks.rb
の修正です。
development用のDBがある状態だと、db:prepare
がtest用のDBを作成しないバグがあったのを修正しています。