On Thu, Apr 29, 2010 at 10:58:11AM -0700, Bill Moseley wrote:
> Looking at the cookbook for inflate_result, does the source_name need to be
> explicitly set somehow?
> I'm a bit confused because it is getting set to one of the new classes, but
> the same for all.

source_name is a proxy through to the result_source_instance in class data.

If you don't call

__PACKAGE__->table(__PACKAGE__->table);

in a subclass to get a new source, you don't have a new source.

So you've just set it four times on the same thing and the last one will
win.

-- 
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue

http://shadowcat.co.uk/blog/matt-s-trout/   http://twitter.com/shadowcat_mst/

Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst
commercial support, training and consultancy packages could help your team.

_______________________________________________
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]

Reply via email to