In my routes.rb file I have a number of routes. I would like to know which one got matched for any request a user may have made.
For example, in routes.rb you have the following routes :
map.connect ":controller/:action" map.connect ":controler/:action/:id"
and if I have a controller named a and an action named first, when a user goes to http://whatever/a/first , I would like to see that the :controller/:action route was picked.
Can I do that for any request?