Mongoid::Errors::MongoidError
This error is raised when trying to access a Mongo::Collection from an embedded document.
@example Create the error.
InvalidCollection.new(Address)
# File lib/mongoid/errors/invalid_collection.rb, line 10 def initialize(klass) super( translate("invalid_collection", { :klass => klass.name }) ) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.