mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #29598 from y-yagi/fix_typo_in_callback_deprecation_msg
Fix typo in callback deprecation message
This commit is contained in:
commit
029c50735b
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ module ActiveSupport
|
|||
ActiveSupport::Deprecation.warn(<<-MSG.squish)
|
||||
Passing string to be evaluated in :if and :unless conditional
|
||||
options is deprecated and will be removed in Rails 5.2 without
|
||||
replacement. Pass a symbol for an instance method, or a lamdba,
|
||||
replacement. Pass a symbol for an instance method, or a lambda,
|
||||
proc or block, instead.
|
||||
MSG
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue