aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-xactiverecord/lib/active_record/validations.rb5
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 = {}