From e411b545a5f4dc0e29e68866bd1100fabf2d43b8 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Tue, 24 Oct 2006 17:27:16 +0000 Subject: a few more deprecation improvements git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 6fc90aa291..606362eacd 100755 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -87,7 +87,7 @@ module ActiveRecord end alias :add_on_boundry_breaking :add_on_boundary_breaking - deprecate :add_on_boundary_breaking, :add_on_boundry_breaking + deprecate :add_on_boundary_breaking => :validates_length_of, :add_on_boundry_breaking => :validates_length_of # Returns true if the specified +attribute+ has errors associated with it. def invalid?(attribute) -- cgit v1.2.3