Class | Mongoid::Errors::InvalidCollection |
In: |
lib/mongoid/errors/invalid_collection.rb
|
Parent: | MongoidError |
This error is raised when trying to access a Mongo::Collection from an embedded document.
@example Create the error.
InvalidCollection.new(Address)