From: Tom Hughes Date: Fri, 27 Oct 2023 16:31:23 +0000 (+0100) Subject: Stop parameter hashes comparing equal to normal hashes X-Git-Tag: live~961^2~8 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/39e66c69b75a99c42aab3267bee0f23f938fad3a Stop parameter hashes comparing equal to normal hashes --- diff --git a/config/initializers/new_framework_defaults_7_1.rb b/config/initializers/new_framework_defaults_7_1.rb index 56e99e651..37024fa55 100644 --- a/config/initializers/new_framework_defaults_7_1.rb +++ b/config/initializers/new_framework_defaults_7_1.rb @@ -27,7 +27,7 @@ Rails.application.config.action_dispatch.default_headers = { # Do not treat an `ActionController::Parameters` instance # as equal to an equivalent `Hash` by default. -# Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality = false +Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality = false # Active Record Encryption now uses SHA-256 as its hash digest algorithm. Important: If you have # data encrypted with previous Rails versions, there are two scenarios to consider: