Rails Api with Mongoid