How to implement a short URL like the URLs in Twitter?

Viewed 9150

If there is a long url, I want to generate a short URL like those in Twitter. Is there some way to implement this in Ruby?

4 Answers
Related