From 9fd88d793998ea3a15a916ce7175f1bb2cd264fe Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 9 Oct 2006 01:42:09 +0000 Subject: Deprecated add_on_boundary_breaking (use validates_length_of instead) (closes #6292) [BobSilva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/validations.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 43552e092c..6fc90aa291 100755 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -87,6 +87,7 @@ module ActiveRecord end alias :add_on_boundry_breaking :add_on_boundary_breaking + deprecate :add_on_boundary_breaking, :add_on_boundry_breaking # Returns true if the specified +attribute+ has errors associated with it. def invalid?(attribute) -- cgit v1.2.3