class Mongoid::Errors::InvalidCollection

This error is raised when trying to access a Mongo::Collection from an embedded document.

@example Create the error.

InvalidCollection.new(Address)