123456789_123456789_123456789_123456789_123456789_

Module: Mongoid::Association::Referenced::HasOneThrough::Proxy::ClassMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Extended In:
Defined in: lib/mongoid/association/referenced/has_one_through/proxy.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#embedded?false (readonly)

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

Returns:

  • (false)

    Always false.

[ GitHub ]

  
# File 'lib/mongoid/association/referenced/has_one_through/proxy.rb', line 20

def embedded?
  false
end

Instance Method Details

#eager_loader(association, docs)

[ GitHub ]

  
# File 'lib/mongoid/association/referenced/has_one_through/proxy.rb', line 12

def eager_loader(association, docs)
  Eager.new(association, docs)
end