From f791fe76211dde0b583fdb1b1b634eaf969eaf85 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 1 Feb 2006 04:18:07 +0000 Subject: Silly me git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3513 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 2 -- activerecord/lib/active_record/validations.rb | 5 ----- 2 files changed, 7 deletions(-) (limited to 'activerecord') diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 44482235a3..c8c4cf8845 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,7 +1,5 @@ *SVN* -* Added Errors#any? to mean !Errors#empty? [DHH] - * Support the :column option for remove_index with the PostgreSQL adapter. #3661 [shugo@ruby-lang.org] * Add documentation for add_index and remove_index. #3600 [Manfred Stienstra ] 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 = {} -- cgit v1.2.3