> > 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. Yeah I was about to add that but since you were already using assoc params and I couldn't remember the exact API I assumed you'd figure it out ^^.
-- Felix -------------------------- http://www.thinkingphp.org http://www.fg-webdesign.de Martin Schapendonk wrote: > 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 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
