Simple URL Shortener with Ruby