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.