class Mongoid::Errors::UnknownModel

This error is raised when trying to instantiate a model object from the value in the ‘_type’ field of a document and the class doesn’t exist.