Method: Datamappify::Repository::UnitOfWork::PersistentStates#mark_as_dirty

Defined in:
lib/datamappify/repository/unit_of_work/persistent_states.rb

#mark_as_dirty(entity, *attributes) ⇒ void

This method returns an undefined value.

Parameters:

  • entity (Entity)
  • attrs (Symbol)

    An array or a hash of which the keys are attribute symbols

See Also:



59
60
61
# File 'lib/datamappify/repository/unit_of_work/persistent_states.rb', line 59

def mark_as_dirty(entity, *attributes)
  find(entity).mark_as_dirty(*attributes)
end