Skip to content

Commit bb4a8a9

Browse files
committed
Fix deprecation horizon for ActionController::Parameters#==
The deprecation will be released in Rails 7.1, so the behaviour won't be removed until the version after.
1 parent 3ae590f commit bb4a8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/metal/strong_parameters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def ==(other)
271271
if Hash === other
272272
ActiveSupport::Deprecation.warn <<-WARNING.squish
273273
Comparing equality between `ActionController::Parameters` and a
274-
`Hash` is deprecated and will be removed in Rails 7.1. Please only do
274+
`Hash` is deprecated and will be removed in Rails 7.2. Please only do
275275
comparisons between instances of `ActionController::Parameters`. If
276276
you need to compare to a hash, first convert it using
277277
`ActionController::Parameters#new`.

0 commit comments

Comments
 (0)