[Catalyst] Relationship layout
perl at peeron.com
Tue Oct 4 14:27:59 CEST 2005
On Mon, Oct 03, 2005 at 09:58:00PM -0700, Will Smith wrote:
> I tried the example. And get this error when doing the has_a
> Artist can't load CD: has_a needs a valid column at
> line 12
> I don't understand why I get this error, even though I check the
> column name of table cd, which is a foreign key of artist.
The first param to has_a has to be a column in the table of the current
package. Unlike the first param to a has_many, which is a string you
pick. But without code samples, it's hard to know if that's the problem
you're running into...
More information about the Catalyst