1
0
Fork 0
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:
Richard Schneeman 2017-06-27 17:55:23 -05:00 committed by GitHub
commit 029c50735b

View file

@ -664,7 +664,7 @@ module ActiveSupport
ActiveSupport::Deprecation.warn(<<-MSG.squish) ActiveSupport::Deprecation.warn(<<-MSG.squish)
Passing string to be evaluated in :if and :unless conditional Passing string to be evaluated in :if and :unless conditional
options is deprecated and will be removed in Rails 5.2 without 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. proc or block, instead.
MSG MSG
end end