MongoidError
Raised when the database connection has not been set up properly, either by attempting to set an object on the db that is not a +Mongo::DB+, or not setting anything at all.
@example Create the error.
InvalidDatabase.new("Not a DB")
Generated with the Darkfish Rdoc Generator 2.