# File lib/tapkit/access/database_operation.rb, line 43 def row_diffs( attributes = nil ) if attributes then keys = [] attributes.each do |attr| keys << attr.name end else keys = @db_snapshot.keys end diffs = {} keys.each do |key| unless @db_snapshot[key] == new_row[key] then diffs[key] = new_row[key] end end diffs end