ActiveRecord Gotchas

26 November 2012

o = Order.last o.number_of_prints = 3 o.update_attributes(:held_at => Time.now) o.reload.number_of_prints # == 3