Flowdock
method

changes

Importance_1
v3.2.3 - Show latest stable - 0 notes - Class: ActiveModel::Dirty
changes() public

Map of changed attrs => [original value, new value].

person.changes # => {}
person.name = 'bob'
person.changes # => { 'name' => ['bill', 'bob'] }
Show source
Register or log in to add new notes.