a few more deprecation improvements

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck
2006-10-24 17:27:16 +00:00
parent e5684a2877
commit e411b545a5

View File

@@ -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)