I’m trying to extend the Rails Router so that if none of the routes
defined matches the current query it will call a specific method which
will return the controller and method to be called in order to serve
Now I have a few years of experience with Rails and Ruby and I’ve
tried looking through the code, but I’ve never been into the Rails
core so I’m not really sure where to look.
I’m trying to do this in Rails 3.1
Look forward to your replies.