Method: Filemaker::Model#dirty_attributes

Defined in:
lib/filemaker/model.rb

#dirty_attributesObject



63
64
65
66
67
68
69
# File 'lib/filemaker/model.rb', line 63

def dirty_attributes
  dirty = {}
  changed.each do |attr_name|
    dirty[attr_name] = attributes[attr_name]
  end
  self.class.with_model_fields(dirty)
end