Post可通过访问
Blog.first.posts
如何使用模块名称空间完成此操作?如引擎::后
Blog.first.???
感谢
尝试显式地将类名赋予Mongoid
class Engine::Blog
include Mongoid::Document
embeds_many :posts, :class_name => "Engine::Post"
end