# File lib/couch_potato/persistence/dirty_attributes.rb, line 17 def dirty? new? || self.class.properties.inject(false) do |res, property| res || property.dirty?(self) end end