Method: Mongoid::Criteria#+

Defined in:
lib/mongoid/criteria.rb

#+(other) ⇒ Object

Concatinate the criteria with another enumerable. If the other is a Criteria then it needs to get the collection from it.



50
51
52
# File 'lib/mongoid/criteria.rb', line 50

def +(other)
  entries + comparable(other)
end