Setup using a simple example: I\'ve got 1 table (Totals) that holds the sum of the amount column of each record in a second table (
Totals
amount
ActiveRecord::Dirty is a module that's built into ActiveRecord for tracking attribute changes. So you can use thing.amount_was to get the old value.
thing.amount_was