aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validator.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing tests to Validators.José Valim2010-01-031-1/+2
|
* validates_each uses a BlockValidator.José Valim2009-12-231-2/+20
|
* Added check_validity! to EachValidator and refactor existing ones.José Valim2009-12-231-0/+4
|
* Move validations in ActiveModel to validators, however all validatity checks ↵José Valim2009-12-231-2/+22
| | | | are still in the class method.
* Validator is simply sent to validate method. However, the API needs to ↵José Valim2009-12-221-4/+3
| | | | change, so validate accepts a record.
* Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-201-0/+68
deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com>