2009/7/28 DavidH <djhollingwo...@gmail.com>

>
> Hi Matias
>
> What are the relationships between options and characteristic_types?
> How have you defined that relationship in the models?
>
> Where do you get that error message? I suspect the problem is
> somewhere in the models.
>
> David
>
> On Jul 27, 6:36 pm, matias <matias.ale...@gmail.com> wrote:
> > Hi!
> > I have a problem. I want to link relational table of two habtm tables
> > with another one.
> > I have table `types` (id, name) that is habtm `characteristics` (id,
> > name). Their rel table is `characteristics_types` (id,
> > characteristic_id, type_id). I want to link each record from this
> > table with many records in 4th table `options` (id, name,
> > characteristics_types_id).
> > But it doesnt work. Cake says "Undefined property:  Property::
> > $CharacteristicsType". Can somebody help me? please?
> >
>
Thanks for interested in my problem! It's just misprint. Foreign key in
table `options` must have name `characteristics_type_id`. not
`characteristics_type*s*_id`

-- 
C уважением, Матяс Алексей.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to