Playing around with rails and creating a url shortener