Flowdock
method

validates!

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveModel::Validations::ClassMethods
validates!(*attributes) public

This method is used to define validation that can not be corrected by end user and is considered exceptional. So each validator defined with bang or :strict option set to true will always raise ActiveModel::InternalValidationFailed instead of adding error when validation fails See validates for more information about validation itself.

Show source
Register or log in to add new notes.