Posted by
Ziyan Junaideen 24 August 2019
Learn how you can track an ActiveRecord objects attribute changes across its lifecycle or page request. The methods [attr]_was
, [attr]_chagned?
, [attr]_previously_was
are some among the helpful methods implemented in ActiveModel::Dirty
module.