Flowdock
method

decrement!

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveRecord::Persistence
decrement!(attribute, by = 1) public

Wrapper around decrement that saves the record. This method differs from its non-bang version in that it passes through the attribute setter. Saving is not subjected to validation checks. Returns true if the record could be saved.

Show source
Register or log in to add new notes.