[Catalyst] Mapping Schema to Model in Catalyst?

dennis ddaupert at sbcglobal.net
Tue May 16 18:35:53 CEST 2006


On Tuesday 16 May 2006 06:00, catalyst-request at lists.rawmode.org wrote:
> Your "schema" class should "use base
> DBIx::Class::Schema[::Loader];", and it should have nothing to do with
> Catalyst or Models.
>
> Your Model class on the other hand, should "use base
> Catalyst::Model::DBIC::Schema", and have the config option
> "schema_class" set to the classname of the Schema class above.

That does indeed help clarify, thanks Brandon.

/dennis



More information about the Catalyst mailing list