Could someone please confirm for me that when I save a record, I must 
explicitly save data from any associated models as well? (Meaning that 
associated models are not automatically saved by Cake)

For instance I am working on and in my "Plan" model/controller.

On one input screen I add a "Feedback" record to the Plan.

When I save the Plan record I assume that I must also manually save the 
Feedback record.  Something like this:

$this->Plan->save($this->params['form']['data']['Plan'])
$this->Feedback->save($this->params['form']['data']['Feedback'])


I have spent some time searching for an answer to the question, but the 
manual isn't explicit about the process.  This post:

http://groups.google.com/group/cake-php/browse_thread/thread/b8498b4fba54a133/

Seems fairly clear, but it is a bit dated, so I thought that I should check.

Thanks in advance.

Regards,
Langdon

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to