Returns:
14 15 16
# File 'lib/mongo_mapper/plugins/equality.rb', line 14 def eql?(other) other.is_a?(self.class) && _id == other._id end
19 20 21
# File 'lib/mongo_mapper/plugins/equality.rb', line 19 def hash _id.hash end