aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Schneeman <richard.schneeman+no-recruiters@gmail.com>2017-06-27 17:55:23 -0500
committerGitHub <noreply@github.com>2017-06-27 17:55:23 -0500
commit029c50735ba9a882ba67dd8219d61cf8698d6133 (patch)
tree0bcf79a201f144e71efc469f967c57853258e063
parent60b253553cf2a25e5c5eec737c738476f6519904 (diff)
parent3d79da5009cd70d23961ddb4c9902e611000cc6f (diff)
downloadrails-029c50735ba9a882ba67dd8219d61cf8698d6133.tar.gz
rails-029c50735ba9a882ba67dd8219d61cf8698d6133.tar.bz2
rails-029c50735ba9a882ba67dd8219d61cf8698d6133.zip
Merge pull request #29598 from y-yagi/fix_typo_in_callback_deprecation_msg
Fix typo in callback deprecation message
-rw-r--r--activesupport/lib/active_support/callbacks.rb2
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