Re: add_to_ question

[prev] [thread] [next] [Date index for 2004/09/10]

From: Christopher Laco
Subject: Re: add_to_ question
Date: 13:28 on 10 Sep 2004
Isn't the same true if I create a new Music::CD object using create()?
Or , since has_a is declared on the CD object, when I create a new one
and supply an artistid value, it automagically gets/sets the
Music::Artist object as well?

-=Chris


On Fri, 10 Sep 2004 13:51:14 +0100, Tony Bowden <tony-cdbitalk@xxxxx.xxx> wrote:
> On Fri, Sep 10, 2004 at 07:33:24AM -0400, Christopher Laco wrote:
> > > But it's not a child object. A child object has to have the reciprocal
> > > has_a back to this object already.
> > But Music::CD does have a has_a relationship to Music::Artist.
> >      Music::CD->has_a(artist => 'Music::Artist');
> 
> Yes. But the "object" you're dealing with doesn't have a value for this.
> 
> Tony
>

add_to_ question
Christopher Laco 13:55 on 09 Sep 2004

Re: add_to_ question
mendlefarg 01:38 on 10 Sep 2004

Re: add_to_ question
Tony Bowden 06:50 on 10 Sep 2004

Re: add_to_ question
Christopher Laco 11:33 on 10 Sep 2004

Re: add_to_ question
Tony Bowden 12:51 on 10 Sep 2004

Re: add_to_ question
Christopher Laco 13:28 on 10 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52