模块:Mongoid::Association::Referenced::HasAndBelongsToMany::Proxy::ClassMethods
- 定义于:
- lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb
Overview
HasAndBelongsToMany::Proxy 的类级方法
实例方法摘要折叠
-
#ager_loader (association, Docs ) ⇒ 对象
获取此类关联的 Eager对象。
-
# embedded? ⇒ false
如果关联为嵌入式关联,则返回 true。
实例方法详细信息
#ager_loader (association, Docs ) ⇒对象
获取此类关联的 Eager对象。
23 24 25 |
# File 'lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb', line 23 def Eager_Loader(关联, docs) Eager.new(关联, docs) end |
# embedded? ⇒ false
如果关联为嵌入式关联,则返回 true。 在这种情况下始终为 false。
34 35 36 |
# File 'lib/mongoid/association/referenced/has_and_belongs_to_many/proxy.rb', line 34 def false end |