module Mongoid::Association::Referenced::HasMany::Proxy::ClassMethods

class-level methods for HasMany::Proxy

Public Instance Methods

eager_loader(association, docs) click to toggle source
# File lib/mongoid/association/referenced/has_many/proxy.rb, line 21
def eager_loader(association, docs)
  Eager.new(association, docs)
end
embedded?() click to toggle source

Returns true if the association is an embedded one. In this case always false.

@example Is this association embedded?

Referenced::Many.embedded?

@return [ false ] Always false.

# File lib/mongoid/association/referenced/has_many/proxy.rb, line 32
def embedded?
  false
end