d6cbb27e7b
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. |
||
---|---|---|
.. | ||
serializeration | ||
validations | ||
attribute_methods_test.rb | ||
callbacks_test.rb | ||
conversion_test.rb | ||
dirty_test.rb | ||
helper.rb | ||
lint_test.rb | ||
naming_test.rb | ||
observing_test.rb | ||
translation_test.rb | ||
validations_test.rb |