Re: Multi Multi problems (was a null subject)

[prev] [thread] [next] [Date index for 2005/04/28]

From: Tony Bowden
Subject: Re: Multi Multi problems (was a null subject)
Date: 19:53 on 28 Apr 2005
On Thu, Apr 28, 2005 at 02:06:12PM -0500, Jonathan Steinert wrote:
> Adding the 3rd argument (undocumented?) to my has_many() calls has fixed 
> the problem.

It's documented:

	If no such has_a() declarations can be found, or none link to
	us, we assume that it is linking to us via a column named after
	the moniker() of our class. If this is not true you can pass an
	additional third argument to the has_many() declaration stating
	which column of the foreign class references us.

Tony


Jonathan Steinert 09:21 on 28 Apr 2005

Re:
Jay Strauss 13:26 on 28 Apr 2005

Re:
Tony Bowden 13:53 on 28 Apr 2005

Re:
Perrin Harkins 17:28 on 28 Apr 2005

Re:
Tony Bowden 19:52 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Jonathan Steinert 17:06 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Matt S Trout 17:26 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Perrin Harkins 17:37 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Jonathan Steinert 19:06 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Tony Bowden 19:53 on 28 Apr 2005

Generated at 10:24 on 04 May 2005 by mariachi v0.52