Tiny link shortener in Sinatra