Flowdock
method

validates!

Importance_1
Ruby on Rails latest stable (v3.2.13) - 0 notes - Class: ActiveModel::Validations::ClassMethods
validates!(*attributes) public

This method is used to define validation that cannot 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::StrictValidationFailed 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.