标签: ruby-on-rails mongoid
在ActiveRecord中,您可以
class A has_many :b ... A a ... a.b.loaded?
在Mongoid中有同等的吗?加载?和._loaded不起作用?是私人的:
(private method `_loaded?' called for #<Person:0x000056064cab1118>)