Permalink
Browse files

a few more deprecation improvements

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent e5684a2 commit e411b545a5f4dc0e29e68866bd1100fabf2d43b8 @jamis jamis committed Oct 24, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/validations.rb
@@ -87,7 +87,7 @@ def add_on_boundary_breaking(attributes, range, too_long_msg = @@default_error_m
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)

0 comments on commit e411b54

Please sign in to comment.