aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/absence_validation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-3/+3
|
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the ↵Roberto Vasquez Angel2012-12-151-0/+67
absence of attributes. Add `ActiveModel::Errors#add_on_present` method. Adds error messages to present attributes.