Saturday, February 28, 2009

Re: Big Problem with 1:1 Association

On Sat, Feb 28, 2009 at 10:49 AM, GetIT <david.bruenner@t-online.de> wrote:
[..snip..]

But if I save the data only the thing belonging to the client are
saved. The data from the progress is not saved.
Why?

I may be leading you onto the wrong path, but as far as I know you need to call save() on $this->Client->Progress as well (ie. $this->Client->Progress->save()).

BTW, does it make sense that a patient can only ever have 0 or 1 progress?

- Gonzalo

--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: