method
validate
v3.0.9 -
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.