This might sound like a trivial question, but it is rather important for consumer facing apps
What is the easiest way and most scalable way to map the scary mongo id
Unfortunately, the key macro has been removed from mongo. For custom ids, users must now override the _id field.
class Band include Mongoid::Document field :_id, type: String, default: ->{ name } end