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