Flowdock
method

changes

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::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.