rails/activemodel/test/cases
José Valim d6cbb27e7b Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options."
Having a huge array to whitelist options is not the proper way to handle this case. This means that the ActiveModel::Errors object should know about the options given in *all* validators and break the extensibility added by the validators itself. If the intent is to whitelist options before sending them to I18n, each validator should clean its respective options instead of throwing the responsibility to the Errors object.

This reverts commit bc1c8d58ec45593acba614d1d0fecb49adef08ff.
2010-05-15 21:55:16 +02:00
..
serializeration Make ActiveResource serialize XML correctly when element_name is set. 2010-05-12 09:31:36 -07:00
validations Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options." 2010-05-15 21:55:16 +02:00
attribute_methods_test.rb Fixed behavior of attribute_methods_generated? [#3220 state:resolved] 2009-10-07 09:07:39 -05:00
callbacks_test.rb Move ActiveRecord callbacks implementation to ActiveModel and make use of it. 2009-12-28 16:19:23 -08:00
conversion_test.rb Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not. 2010-02-21 11:12:14 +01:00
dirty_test.rb Restore changed_attributes method in ActiveModel::Dirty and loosen expectation on including class' initialize method. 2010-04-01 17:52:45 -07:00
helper.rb removed AR from all AMo tests, including any unneeded files (schema, fixtures and test helper) 2010-05-09 00:08:11 +03:00
lint_test.rb Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not. 2010-02-21 11:12:14 +01:00
naming_test.rb Revert "Refactor of active_model/naming.rb and allow collection and element to be writable" 2010-05-12 21:02:16 +02:00
observing_test.rb Fix Active Model observer tests 2010-04-16 13:14:52 -07:00
translation_test.rb Allow to specify default attributes names translation in I18n yml files. 2010-01-07 15:31:50 +01:00
validations_test.rb validation macros can now be used within an instance 2010-05-13 13:57:37 -07:00