I want to know if an arbitrary path can be mapped to a route
recognized_request_for accomplishes what I want, but I can\'t get it to work in my controller.
You could possibly dynamically generate the route helper method and see if it exists (using respond_to? or even just catching any thrown exception).