Note:
http://stackoverflow.com/questions/4434266/stack-overflow-like-url-routes-in-rails-3 http://stackoverflow.com/questions/4434266/ http://stackoverflow.com/questions/4434266/you-can-put-wathever-you-want-here
Same. I think stackoverflow just does this to provide some context if you only see the link.
So your route will be just like this:
http://stackoverflow.com/questions/4434266/
which should look something like this:
http://stackoverflow.com/questions/:id
You can ignore the rest of the URL
source share