module Mongoid::Association::Referenced::HasAndBelongsToMany::Proxy::ClassMethods

def eager_loader(association, docs)

Parameters:
  • docs (Array) -- The array of documents.
  • association (Mongoid::Association::Relatable) -- The association metadata.

Other tags:
    Example: Get the eager loader object -
def eager_loader(association, docs)
  Eager.new(association, docs)
end

def embedded?

Returns:
  • (false) - Always false.

Other tags:
    Example: Is this association embedded? -
def embedded?
  false
end