From 3d79da5009cd70d23961ddb4c9902e611000cc6f Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Wed, 28 Jun 2017 07:50:52 +0900 Subject: Fix typo in callback deprecation message --- activesupport/lib/active_support/callbacks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') 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 -- cgit v1.2.3