method

update_attribute_with_validation_skipping

Importance_1
v2.1.0 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.