An Active Record Object Is a Snapshot, Not the Row
Two Active Record objects can represent the same row, compare as equal, and still carry different attribute values. This RailsRevelry article explains model object snapshots, reload, lifecycle predicates, and the debugging difference between object state and database truth.
https://railsrevelry.substack.com/p/an-active-record-object-is-a-snapshot-not-the-row
Post a comment