diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-06-28 07:50:52 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-06-28 07:50:52 +0900 |
commit | 3d79da5009cd70d23961ddb4c9902e611000cc6f (patch) | |
tree | 0bcf79a201f144e71efc469f967c57853258e063 | |
parent | 60b253553cf2a25e5c5eec737c738476f6519904 (diff) | |
download | rails-3d79da5009cd70d23961ddb4c9902e611000cc6f.tar.gz rails-3d79da5009cd70d23961ddb4c9902e611000cc6f.tar.bz2 rails-3d79da5009cd70d23961ddb4c9902e611000cc6f.zip |
Fix typo in callback deprecation message
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index aa33bd8889..54f8321606 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -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 |