# File lib/active_record/persistence.rb, line 169 def decrement(attribute, by = 1) self[attribute] ||= 0 self[attribute] -= by self end