ruby on rails app to shorten urls