rails short url service with proxy functionality