-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
This code demonstrates the issue:
Class.new do include Mongoid::Document embeds_many :addresses end
An error occurs because the Mongoid::Association::Relatable#namespace_hierarchy expects the parent class to have a name.