> Mark Hedges wrote: > > I get this error for any class in which I try to use > > inflate_column(), even if I have empty stub coderefs for > > inflate and deflate. This is in a test script by > > itself, I'm not using Catalyst. I saw some archive > > messages about this error and tried the suggestions but > > I don't see what I'm doing wrong... > > > > > > Can't locate object method "result_source_instance" via > > package "DeSpam::DC::Lame" at > > /usr/lib/perl5/site_perl/5.8.8/DBIx/Class/ResultSourceProxy.pm > > line 47, <DATA> line 114.
On Fri, 13 Nov 2009, Peter Rabbitson wrote: > > ^^^ A resultsource is useless until you declare a table() > on it (this is not only an accessor but also an > initializer). This problem was all because my test script didn't get the schema first to make DBIx::Class::Schema::Loader define the classes before loading the external definitions. Duh. It all works beautifully now, much simpler than I was trying to make it. Mark _______________________________________________ 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]
