changes()
Instance Public methods
Returns a hash of changed attributes indicating their original and new
values like attr => [original value, new value]
.
person.changes # => {} person.name = 'bob' person.changes # => { "name" => ["bill", "bob"] }
Please login to continue.