url shortener made in rails