Per gets down and dirty with a new chapter in the Documentation called Dirty Records. Really it’s all about tracking change to your database records dynamically.
Give it a read and learn about the power of methods like hasChanged(), XXXHasChanged(), XXXChangedFrom(), changedProperties(), allChanges(), and more.