From: Martin DeMello Date: 2008-06-28T16:19:41+09:00 Subject: Re: fallthrough routing in a web microframework On Fri, Jun 27, 2008 at 9:41 PM, ara.t.howard wrote: > > On Jun 27, 2008, at 4:12 PM, Martin DeMello wrote: > >> I've already asked on the Halcyon list, but if any other >> microframework can do this I'd like to know. Essentially I want a >> route to fail on a missing controller/action as well as on an >> unmatched pattern. > > you can easily do this in ramaze, simply define > > def method_missing *path_info > > end > > in your base controller class, or put that into a module which is included > in every controller > > is this what you are looking for? Thanks, that's 99% of what I'm looking for - ideally I'd like to match routes where the controller doesn't exist either, but I'll settle for having empty controllers for all possible choices. martin