[Catalyst] Using CDBI::Loader

David Hodgkinson davehodg at gmail.com
Fri Feb 3 15:04:21 CET 2006


I've got some models that used the CDBI helper to be set up.

I'd quite like to use the Loader magic to point at the database.  
Where exactly
would I put the setting of options, namespace, relationships and most  
importantly,
debug?

And in my CDBI.pm parent class, is:

use base qw[Catalyst::Model Class::DBI::Loader Class::DBI::Pg];

sufficient to use Loader magic?

Ta,





More information about the Catalyst mailing list