Skip to content

Add update_attribute method

Choose a tag to compare

@liveh2o liveh2o released this 09 Jun 16:02

Add an update_attribute method that updates a single attribute and saves the record:

  • Validation is skipped.
  • Callbacks are invoked.
  • Updates all the attributes that are dirty in this object.

This is especially useful for boolean flags on existing records. (@brianstien, #40)