Re: has_many and '... needs a valid column ...'

[prev] [thread] [next] [Date index for 2005/07/06]

From: Tony Bowden
Subject: Re: has_many and '... needs a valid column ...'
Date: 07:22 on 06 Jul 2005
On Wed, Jul 06, 2005 at 04:20:34PM +1000, Ron Savage wrote:
> I see docs for has_many(), but from what I can understand of the docs has_many()
> refers to the reverse of this situation I'm in, the latter being more like:
> will_have_something_pointing_to_me_later_on().

The presence or absence of data should be completely irrelevant. This is
all class data corresponding to database structure, rather than instance
data corresponding to database content.

There's also nothing in the HasMany code which gives the error message
you're getting, so I suspect you doing something else strange
somewhere...

Tony


has_many and '... needs a valid column ...'
Ron Savage 06:20 on 06 Jul 2005

Re: has_many and '... needs a valid column ...'
Tony Bowden 07:22 on 06 Jul 2005

Generated at 16:35 on 28 Jul 2005 by mariachi v0.52