I ahev to related models, group and user, and I have a form to update user data from the groups controller, previously to the User->Save i read some information from the current user, the code is something like:
$this->Group->User->read->($this->Auth->user('id')); . . . $this->Group->User->Save($this->data); As a result if the current user value of fieldX is 123, then the fieldX of the user being updated takes the value 123, but there is no such fieldX in the $this->data One way to avoid this is by doing a $this->Group->User->read(null, $this->data['User']['id']); but either there is something wrong in the cake implementation of the save function or most probably I am missing something. Any ideas? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php