path processing

With REST and named routes there’s multiple ways to represent a controller/action. Does anyone know where the code that parses the requests and maps it to the controller/action reside?

thanks in advance,
andy

Its in the routing module of rails.