acts_as_audited is an ActiveRecord extension that logs all changes to your models in an audits table.