URL shortener written in rails.