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