I want to generate id of the newly created object as string instead of BSON::ObjectId('59afe79b92caf8948b000005').
I am using mongoid of version mongoid (4.0.2) .
Is there anything like idGeneration of this page https://docs.meteor.com/api/collections.html .
I want to create id as random string(SWpabpucouNBRJZoh) so that it will work with our meteor application.
Any suggestion will helpful for me.
Thanks,