diff options
author | Jamis Buck <jamis@37signals.com> | 2006-10-24 17:27:16 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-10-24 17:27:16 +0000 |
commit | e411b545a5f4dc0e29e68866bd1100fabf2d43b8 (patch) | |
tree | 2d15f0c2b0f4b471b06148b25153f14ca5419bce /activerecord/lib/active_record | |
parent | e5684a28777c8bbfe472ac33fdbfddc7bdc1f9a7 (diff) | |
download | rails-e411b545a5f4dc0e29e68866bd1100fabf2d43b8.tar.gz rails-e411b545a5f4dc0e29e68866bd1100fabf2d43b8.tar.bz2 rails-e411b545a5f4dc0e29e68866bd1100fabf2d43b8.zip |
a few more deprecation improvements
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |