Module: Document::ClassMethods
- Defined in:
- lib/pluck_all/models/mongoid_extension.rb
Instance Method Summary collapse
Instance Method Details
#pluck_all(*fields) ⇒ Object
8 9 10 |
# File 'lib/pluck_all/models/mongoid_extension.rb', line 8 def pluck_all(*fields) where(nil).pluck_all(*fields) end |
#pluck_array(*fields) ⇒ Object
4 5 6 |
# File 'lib/pluck_all/models/mongoid_extension.rb', line 4 def pluck_array(*fields) where(nil).pluck_array(*fields) end |