method
validate_each
v3.0.0 -
Show latest stable
- Class:
ActiveModel::EachValidator
validate_each(record, attribute, value)public
Override this method in subclasses with the validation logic, adding errors to the records errors array where necessary.