module Dynamoid::Dirty::ClassMethods

@private

Public Instance Methods

from_database(*) click to toggle source
Calls superclass method
# File lib/dynamoid/dirty.rb, line 39
def from_database(*)
  super.tap(&:clear_changes_information)
end
update_fields(*) click to toggle source
Calls superclass method
# File lib/dynamoid/dirty.rb, line 27
def update_fields(*)
  super.tap do |model|
    model.clear_changes_information if model
  end
end
upsert(*) click to toggle source
Calls superclass method
# File lib/dynamoid/dirty.rb, line 33
def upsert(*)
  super.tap do |model|
    model.clear_changes_information if model
  end
end