[Catalyst] Catalyst Model Issue

Tomas Doran bobtfish at bobtfish.net
Tue Aug 2 19:41:58 GMT 2011

On 2 Aug 2011, at 20:37, gordon at gorste.plus.com wrote:

> Alejandro
> I am running uptodate version of DBD::mysql(4.019) and  
> DBD::SQLite(1.33),
> but the issue is not with me creating the schema that works fine.  The
> problem is with creating a record via the model as described in the
> catalyst documentation
>               my $book = $c->model('DB::Book')->create({title  =>  
> $title,
> rating => $rating });
> I get the following error
> DBIx::Class::ResultSet::create(): Unable to perform storage-dependent
> operations with a detached result source (source '_unnamed_' is not
> associated with a schema). at
> ./catalyst/test/script/../lib/test/Controller/Books.pm line 56

DBIC appears totally broken here..

Can you show us your model class + the dbic schema and Book result  

Maybe you'd be better off jumping into #catalyst or #dbix-class on irc  
to get this one sorted out quickly?


More information about the Catalyst mailing list