I'm starting a project on Rails using an already existing MongoDB database which is already in production and is being used by another node.js app, which uses mongoose as it's ODM.
I have two types of objects stored in a collection called asset. Mongoose uses the key __t to keep track of the object's type and mongoid uses _type.
Is there a way to force mongoid to discriminate document type using the __t key instead of _type?