Method: Dynamoid::Dirty#changed
- Defined in:
- lib/dynamoid/dirty.rb
#changed ⇒ Object
Returns an array with the name of the attributes with unsaved changes.
person.changed # => []
person.name = 'bob'
person.changed # => ["name"]
92 93 94 |
# File 'lib/dynamoid/dirty.rb', line 92 def changed changed_attributes.keys end |