# File lib/couch_potato/persistence/deep_dirty_attributes.rb, line 20 def changes changes = super if @original_deep_values self.class.deep_tracked_properties.each do |property| if send("#{property.name}_changed?") changes[property.name] = send("#{property.name}_change") else changes.delete property.name end end end changes end