Module: Dynamoid::Dirty::ClassMethods

Defined in:
lib/dynamoid/dirty.rb

Instance Method Summary collapse

Instance Method Details

#from_databaseObject



7
8
9
# File 'lib/dynamoid/dirty.rb', line 7

def from_database(*)
  super.tap { |d| d.changed_attributes.clear }
end