This is a comment that applies to most of the routes.  What you wrote should function just fine, but it looks strange to me.  Typically you'd write the route as get '/go/:id', to 'urls#redirect'   I think the initial forward slash just makes me feel more comfortable because you'd need the initial forward slash in html when you're doing a relative path.