[Catalyst] Re: Perl::Rails?

Johan Lindström johanl at DarSerMan.com
Fri Dec 9 16:53:17 CET 2005


At 15:02 2005-12-09, Brandon Black wrote:
>I run into this weakness in two ways primarily.  The first is that
>while the failure of a Controller to have correct syntax results in
>the whole app failing to start and showing you the parse error (a good
>thing), if you make a similar syntax mistake in a Model class (using
>the standard CDBI/DBIC autoloader models), you get no such warning.
>The first you hear of it is that some method you're trying to call
>from that model doesn't exist at runtime.  This came up before and
>someone had a solution for it, but I couldn't find the email earlier,
>and in any case the real solution should just work for the
>default/naive case.

I think this was a thinko in Catalyst::Model::CDBI where it didn't die 
properly if Loader failed. But that seems to be fixed and released in 0.11 .


/J




More information about the Catalyst mailing list