Skip to content

Commit

Permalink
Fix deprecation horizon for ActionController::Parameters#==
Browse files Browse the repository at this point in the history
The deprecation will be released in Rails 7.1, so the behaviour won't be
removed until the version after.
  • Loading branch information
eugeneius committed Apr 3, 2022
1 parent 3ae590f commit bb4a8a9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -271,7 +271,7 @@ def ==(other)
if Hash === other
ActiveSupport::Deprecation.warn <<-WARNING.squish
Comparing equality between `ActionController::Parameters` and a
`Hash` is deprecated and will be removed in Rails 7.1. Please only do
`Hash` is deprecated and will be removed in Rails 7.2. Please only do
comparisons between instances of `ActionController::Parameters`. If
you need to compare to a hash, first convert it using
`ActionController::Parameters#new`.
Expand Down

0 comments on commit bb4a8a9

Please sign in to comment.