module Shim

Public Instance Methods

==(other) click to toggle source

overwrite equality (because some devise tests use this for asserting model equality)

# File test/rails_app/app/mongoid/shim.rb, line 20
def ==(other)
  other.is_a?(self.class) && _id == other._id
end