class
ActiveModel::EachValidator
rails latest stable
- Superclass: Validator
Active Model EachValidator
EachValidator is a validator which iterates through the attributes given in the options hash invoking the validate_each method passing in the record, attribute, and value.
All Active Model validations are built on top of this validator.
Attributes
| [R] | attributes |
Files
- activemodel/lib/active_model/validator.rb