method
validate
v6.1.7.7 -
Show latest stable
- Class:
ActiveModel::EachValidator
validate(record)public
Performs validation on the supplied record. By default this will call validate_each to determine validity therefore subclasses should override validate_each with validation logic.