From 379e468034a2d22fb3330694a080ff7375d2379a Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sat, 21 Mar 2009 01:14:58 +0000 Subject: Remove DEFAULT_VALIDATION_OPTIONS from validations --- activemodel/lib/active_model/validations.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activemodel/lib/active_model/validations.rb') diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 59e919a364..caab9e7b73 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -9,8 +9,6 @@ module ActiveModel end module ClassMethods - DEFAULT_VALIDATION_OPTIONS = { :on => :save, :allow_nil => false, :allow_blank => false, :message => nil }.freeze - # Adds a validation method or block to the class. This is useful when # overriding the +validate+ instance method becomes too unwieldly and # you're looking for more descriptive declaration of your validations. -- cgit v1.2.3