Module: Mongoid::Association::Referenced::HasAndBelongsToMany::Proxy::ClassMethods
- Defined in:
- lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb
Overview
class-level methods for HasAndBelongsToMany::Proxy
Instance Method Summary collapse
-
#eager_loader(association, docs) ⇒ Object
Get the Eager object for this type of association.
-
#embedded? ⇒ false
Returns true if the association is an embedded one.
Instance Method Details
#eager_loader(association, docs) ⇒ Object
Get the Eager object for this type of association.
23 24 25 |
# File 'lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb', line 23 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.
34 35 36 |
# File 'lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb', line 34 def false end |