Method: MongoMapper::Document::ClassMethods#all
- Defined in:
- lib/mongo_mapper/document.rb
#all(options = {}) ⇒ Array
Returns all documents in your collection that match the provided conditions.
127 128 129 |
# File 'lib/mongo_mapper/document.rb', line 127 def all(={}) find_every() end |