On 2 Aug 2011, at 20:37, [email protected] 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
class..
Maybe you'd be better off jumping into #catalyst or #dbix-class on irc
to get this one sorted out quickly?
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/