Module: Mongoid::Association::Referenced::HasMany::Proxy::ClassMethods
- Included in:
- Mongoid::Association::Referenced::HasMany::Proxy
- Defined in:
- lib/mongoid/association/referenced/has_many/proxy.rb
Overview
class-level methods for HasMany::Proxy
Instance Method Summary collapse
- #eager_loader(association, docs) ⇒ Object
-
#embedded? ⇒ false
Returns true if the association is an embedded one.
Instance Method Details
#eager_loader(association, docs) ⇒ Object
21 22 23 |
# File 'lib/mongoid/association/referenced/has_many/proxy.rb', line 21 def eager_loader(association, docs) Eager.new(association, docs) end |
#embedded? ⇒ false
Returns true if the association is an embedded one. In this case always false.
32 33 34 |
# File 'lib/mongoid/association/referenced/has_many/proxy.rb', line 32 def false end |