Refactor to use friendly_id gem