# File lib/quickbooks/model.rb, line 127
    def dirty_attributes(compare={})
      compare = original_values if compare.empty?
      pairs = {}
      self.class.read_write.each do |column|
        value = instance_variable_get('@' + column.to_s)
        if value != compare[column.to_s]
          pairs[column.to_s] = value
        end
      end
      pairs
    end