creating a link shorten site using rails