title: How to change mongoid class inheritance field
body: <p>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.</p>
  
  <p>I have two types of objects stored in a collection called asset. Mongoose uses the key <code>__t</code> to keep track of the object's type and mongoid uses <code>_type</code>.</p>
  
  <p>Is there a way to force mongoid to discriminate document type using the <code>__t</code> key instead of <code>_type</code>?</p>