[Catalyst] Reference to the connected Model::DBIC schema for testing?

Drew Taylor taylor.andrew.j at gmail.com
Wed Oct 11 22:58:48 CEST 2006


On 10/11/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
> Drew Taylor wrote:
> > On 10/10/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
> >> my $model_dbic_schema_object = MyApp->model('Foo');
> >
> > Shouldn't the name actually be "$model_dbic_resultset_object"? I'm
> > still trying to wrap my head around _all_ of DBIC, so I'm not just
> > being pedantic. :-)
>
> No. MyApp::Model::Foo isa C::M::DBIC::Schema

Oh duh, of course it is! (It's the Catalyst model for DBIC::Schema
right?) There I go showing my ignorance in public... I really need to
sit down and read ALL the DBIC docs. :-)

Drew
 --
----------------------------------------------------------------
 Drew Taylor                 *  Web development & consulting
 Email: drew at drewtaylor.com  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------



More information about the Catalyst mailing list