Module: Granite::Form::Model::Dirty

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Dirty.clone
Defined in:
lib/granite/form/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



51
52
53
# File 'lib/granite/form/model/dirty.rb', line 51

def _read_attribute(attr)
  __send__(attr)
end

#clear_changes_informationObject



39
40
41
# File 'lib/granite/form/model/dirty.rb', line 39

def clear_changes_information
  reset_changes
end