URL Shortener application in Ruby on Rails