Modfied Slug Model to fit for the newer mongoid version