method
update_attribute_with_validation_skipping
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Validations
update_attribute_with_validation_skipping(name, value)public
Updates a single attribute and saves the record without going through the normal validation procedure. This is especially useful for boolean flags on existing records. The regular update_attribute method in Base is replaced with this when the validations module is mixed in, which it is by default.