class Mongoid::Errors::NestedAttributesMetadataNotFound

This error is raised when metadata could not be found when defining nested attributes, or the name was incorrect.