Module: ActiveData::Model::Dirty

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Dirty.clone
Defined in:
lib/active_data/model/dirty.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

DIRTY_CLONE =
ActiveModel::Dirty.clone

Instance Method Summary collapse

Instance Method Details

#_read_attribute(attr) ⇒ Object



50
51
52
# File 'lib/active_data/model/dirty.rb', line 50

def _read_attribute(attr)
  __send__(attr)
end

#clear_changes_informationObject



38
39
40
# File 'lib/active_data/model/dirty.rb', line 38

def clear_changes_information
  reset_changes
end