[Catalyst] C::P::Session::Store::DBIC

Ivan Wills ivanw at benon.com
Wed Nov 8 00:28:16 GMT 2006


Daniel Westermann-Clark wrote:
> On 2006-11-08 08:16:22 +1000, Ivan Wills wrote:
>   
>> The $c->config->{session}{dbic_class} points to the DBIC model
>> App::Model::DB as per the documentation (and pointing it to the
>> session class App::Schema::Session causes a runtime error). Is there
>> some way to tell C::P::S::Store::DBIC the correct table to use?
>>     
>
> In this case, dbic_class should be "DB::Session".  This corresponds to
> what you pass to $c->model to access the session resultset.
>
>   
Thanks that worked, but I'm not sure what it means as there is not 
Module "DB::Session" that I have created is this some magic of DBIx::Class?

Ivan Wills



More information about the Catalyst mailing list