[Fix] Mongoid generator