2007/2/26, Felix Geisendörfer <[EMAIL PROTECTED]>:
> Try naming the hasMany study 'ChildStudy' and the belongsTo 'ParentStudy'.
> That should work.

Thanks, that worked. One small addition is that I had to add className
in the association array as well, otherwise Cake would complain about
non-existent classes ParentStudy and ChildStudy.

Regards,

Martin

-- 
  Martin Schapendonk, [EMAIL PROTECTED]

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

Reply via email to