Method: Lore::Model_Instance#touch

Defined in:
lib/lore/model/model_instance.rb

#touch(attrib_name = nil) ⇒ Object



146
147
148
149
150
151
152
# File 'lib/lore/model/model_instance.rb', line 146

def touch(attrib_name=nil)
  @touched = true
  @touched_fields ||= []
  @touched_fields << attrib_name if attrib_name
  @primary_key_value_map = false
  @primary_key_values    = false
end