diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-01 04:18:07 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-01 04:18:07 +0000 |
commit | f791fe76211dde0b583fdb1b1b634eaf969eaf85 (patch) | |
tree | 212c488a324ce787591c7ad80e619d885eadd13a /activerecord/lib/active_record | |
parent | 1f8f982ee04fa8ae53dfc6faba2c0761d506ea70 (diff) | |
download | rails-f791fe76211dde0b583fdb1b1b634eaf969eaf85.tar.gz rails-f791fe76211dde0b583fdb1b1b634eaf969eaf85.tar.bz2 rails-f791fe76211dde0b583fdb1b1b634eaf969eaf85.zip |
Silly me
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3513 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/validations.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 30f41530b0..3ba2f12ac1 100755 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -148,11 +148,6 @@ module ActiveRecord return @errors.empty? end - # Returns true if errors have been added. - def any? - !empty? - end - # Removes all the errors that have been added. def clear @errors = {} |