Flowdock
method

update_column

Importance_2
v3.2.8 - Show latest stable - 1 note - Class: ActiveRecord::Persistence
update_column(name, value) public

Updates a single attribute of an object, without calling save.

  • Validation is skipped.

  • Callbacks are skipped.

  • updated_at/updated_on column is not updated if that column is available.

Raises an ActiveRecordError when called on new objects, or when the name attribute is marked as readonly.

Show source
Register or log in to add new notes.