Validations¶
Constants¶
Methods¶
- #read_attribute_for_validation
Implements the ActiveModel::Validation hook method.
+ show/hide code
- #save
The validation process on save can be skipped by passing false. The regular Model#save method is replaced with this when the validations module is mixed in, which it is by default.
+ show/hide code
#valid?