URL Shortener written in Ruby on Rails