From: Martin DeMello Date: 2008-06-28T07:23:29+09:00 Subject: Re: fallthrough routing in a web microframework On Fri, Jun 27, 2008 at 3:15 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. Oh, and as for the ever-recommended "what problem are you really trying to solve" explanation, I have an app driven by a table like {'users' => { 'list' => ['tom', 'dick', 'harry'], 'random' => 'tom' }} so that /users/list returns ['tom', 'dick', 'harry'], for instance. But I also want to override some actions, that is, if my Users controller defines a list method, I want to use that, if not I want to return the response from the table. And as to why I'm doing *that*, I want to mock a web service to test apps that call out to it without touching them. martin