]> git.openstreetmap.org Git - rails.git/commitdiff
Stop parameter hashes comparing equal to normal hashes
authorTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:31:23 +0000 (17:31 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:31:23 +0000 (17:31 +0100)
config/initializers/new_framework_defaults_7_1.rb

index 56e99e6515723c5fc5ab00e297590363874c7ec6..37024fa55bea30dc74728974e4c0ee7521930eff 100644 (file)
@@ -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: