Is there any way to get hold of the route recognized by rails given a path?
Current implementation of rails in the methods "recognize_path" && "recognize" returns just the hash with the :controller, :action and :id (if available) and any other url attributes. But I would like to get the route object (wihtin the ActionController::Routing::Routes.routes) that rails compares the path.
Thanks in advance.