My Models:
LearningAgreement HABTM Substitution

the array I give to the $this->LearningAgreement->saveAll(...) method
has the following structure

Array
(
    [LearningAgreement] => Array
        (
            [comment] => testing
        )

    [Substitution] => Array
        (
            [0] => Array
                (
                    [comment] => test
                )

        )

)

When I use saveAll(), a "LearningAgreement" record is created but not
a "Substitution" record. I am not sure what array structure saveAll()
expects because it is not documented at
http://book.cakephp.org/view/75/Saving-Your-Data#Saving-Related-Model-Data-HABTM-85

Hanging on this problem for 12 hours now. Any help is appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to