@dandydanny and @alexcodreanu86's Sinatra URL shortener, modified to run on Rails 4.