A clumsy link shortener powered by Sinatra and Mongoid