Is there any built-in way to take a full URI (http://host/controller/
action/id) and parse it into a route (following all the currently-
defined routing rules) with :controller, :action, and :id?
In other words, I'd like to do manually what is done automagically by
Rails. I need to extract the information from a referer (of sorts) to
determine what controller, action, and id were specified. I want it to
be subject to the current routing rules, not hardcoded.
Is there a built-in method in ActionController for this?