urlShortener Rails 3