Could you show the code that fails? I don't know DBIx::Class that well, but my gut feeling is that you failed to do something basic like call $schema->connect(@connect_info).
My usual way of debugging this sort of problem is to start with the example code from the documentation. Get that to work exactly. Then start trying to step by step modify it to the code that is broken. At some change it will break. And when it does, I'll learn what I am doing wrong. On Mon, Jul 18, 2011 at 4:12 AM, Gordon Stewart <[email protected]> wrote: > Hi > > > > When I call create on a result set I get the following error > > > > Unable to perform storage-dependent operations with a detached result source > (source '_unnamed_' is not associated with a schema). > > > > I am using the most up to date version of DBIx::Class. I am also using it > with a MySQL backend. > > > > Is there a setting I need to set so this error messages goes away and insert > records into the database. > > > > Regards > > > > Gordon > > _______________________________________________ > List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class > IRC: irc.perl.org#dbix-class > SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ > Searchable Archive: > http://www.grokbase.com/group/[email protected] > _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
