[Catalyst] Can't infer join condition

Brandon Black blblack at gmail.com
Mon Jan 16 18:14:36 CET 2006

On 1/16/06, Chisel Wright <chisel at herlpacker.co.uk> wrote:
> On Mon, Jan 16, 2006 at 08:56:09AM -0600, Brandon Black wrote:
> > I suspect that your relationship is still not being defined correctly.
> >  I thought we had made DBIx::Class::Loader handle the "no primary
> > keys" case correctly, but now that I looked again, it looks kinda
> > broken.  The final call to _has_many() doesn't specify the column
> > explicitly, and DBIx::Class won't find it if it isn't a PK (unless by
> > happy magic accident it is the same as the lowercase of the last part
> > of the table class name).
> All of my tables in this schema *do* have primary keys, of the form
> <table>_id

Oops, I misparsed that first email :)

More information about the Catalyst mailing list