Hi all, does anybody know if I can save a model with a hasMany relation and
each of the related models has a hasMany relation?

Hi have a model called Trivia with a 'hasMany' relation to model Pregunta
and model Pregunta has a 'hasMany' relation to model Opcion. But when I call
$this->Trivia->saveAll($this->data) in my controller, it only saves Trivia
and their related Pregunta, but not Opcion

Please help me!

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to