# File lib/dm-core/resource.rb, line 417
    def ==(other)
      return true if equal?(other)
      other.respond_to?(:model)                       &&
      model.base_model.equal?(other.model.base_model) &&
      cmp?(other, :==)
    end