As luck would have it, I am creating a Rails application (2.3.8) in which I need to change where a request is dispatched based on some criteria. Basically, I need a custom dispatcher.
I have looked at using Rack to modify the request, and in certain instances, re-route the request to a different controller that knows that to do with the request.
I'm not looking to redirect - I need to have some requests handled by a different controller than the one the routing table gives me.
Is this even possible?