Re: [Maypole] Re: has_many() problems

[prev] [thread] [next] [Date index for 2005/05/19]

From: Will Hawes
Subject: Re: [Maypole] Re: has_many() problems
Date: 14:47 on 19 May 2005
----- Original Message -----
From: Perrin Harkins <perrin@xxxx.xxx>
To: Will Hawes <info@xxxxxx.xx.xx>
Cc: maypole-users@xxxxx.xxxxxxxxxxx.xxx, cdbi-talk@xxxxxx.xxxxx.xxx
Sent: Thu, 19 May 2005 14:41:41 +0100
Subject: [Maypole] Re: has_many() problems


> On Thu, 2005-05-19 at 11:46 +0100, Will Hawes wrote:
> > package MyApp::Entity;
> > __PACKAGE__->has_many(products => 'MyApp::Product');
> 
> If you make that
> __PACKAGE__->has_many(products => 'MyApp::Product', 'supplier');
> the problem will go away.
> 
> - Perrin

Doh. Never underestimate the power of the simple solution :)

Thanks

WH

has_many() problems
Will Hawes 10:46 on 19 May 2005

Re: has_many() problems
Perrin Harkins 13:41 on 19 May 2005

Re: [Maypole] Re: has_many() problems
Will Hawes 14:47 on 19 May 2005

Generated at 15:51 on 25 May 2005 by mariachi v0.52