module Mongoid::Association::Referenced::HasOne::Proxy::ClassMethods
class-level methods for the HasOne::Proxy
Public Instance Methods
eager_loader(association, docs)
click to toggle source
# File lib/mongoid/association/referenced/has_one/proxy.rb, line 16 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::One.embedded?
@return [ false ] Always false.
# File lib/mongoid/association/referenced/has_one/proxy.rb, line 27 def embedded? false end