Re: Deleting an object on the other side of a has_a

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

From: Peter Pimley
Subject: Re: Deleting an object on the other side of a has_a
Date: 14:53 on 02 Sep 2004
William McKee wrote:

>The wording can be confusing here. Your has_a example *might
>have* (notice no connecting _) a related record in TableB. If this is
>the case, perhaps you should have a has_many relationship in TableA
>and store the id of TableA in TableB.
>
>  
>

Yes, I effectively wrote my own has_many that returns a single object 
rather than a list.

(message missing)

Deleting an object on the other side of a has_a
Peter Pimley 10:02 on 01 Sep 2004

Re: Deleting an object on the other side of a has_a
Perrin Harkins 16:09 on 01 Sep 2004

Re: Deleting an object on the other side of a has_a
Perrin Harkins 15:32 on 01 Sep 2004

Re: Deleting an object on the other side of a has_a
Perrin Harkins 16:33 on 01 Sep 2004

Re: Deleting an object on the other side of a has_a
Perrin Harkins 17:03 on 01 Sep 2004

Re: Deleting an object on the other side of a has_a
Perrin Harkins 16:42 on 01 Sep 2004

Re: Deleting an object on the other side of a has_a
Peter Pimley 14:53 on 02 Sep 2004

Re: Deleting an object on the other side of a has_a
Perrin Harkins 15:06 on 02 Sep 2004

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