Rails app to generate random URLs