diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-10-09 01:42:09 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-10-09 01:42:09 +0000 |
commit | 9fd88d793998ea3a15a916ce7175f1bb2cd264fe (patch) | |
tree | 5e783a553d9a62fd49d35533f4bdb6c142b64461 /activerecord/lib/active_record | |
parent | cb0837a2b7e7d5ba46494acaecc0f5798964ecf7 (diff) | |
download | rails-9fd88d793998ea3a15a916ce7175f1bb2cd264fe.tar.gz rails-9fd88d793998ea3a15a916ce7175f1bb2cd264fe.tar.bz2 rails-9fd88d793998ea3a15a916ce7175f1bb2cd264fe.zip |
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
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/validations.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |