# File lib/couchrest/model/casted_hash.rb, line 74
    def keep_if
      if use_dirty? && block_given?
        self.keys.each do |key|
          couchrest_attribute_will_change!(key) if !yield key, self[key]
        end
      end
      super
    end