Thanks for the idea Chris. I've looked at this -> data in my debugger and there's no associated data, so clearing it wouldn't make any difference.
After just getting my debugger working (which is far harder than it is in any other language) I can see the problem's caused by an error I made writing my view, with field names, so i've now solved this problem. I'd still be interested to hear if anyone has thoughts on the subject though :) Thanks Tim Chris Hartjes wrote: > On Jan 17, 2008 6:36 PM, Tim W <[EMAIL PROTECTED]> wrote: > >> Hi all, >> >> I'm doing a save of a model, it has an association and the key is >> being used in a join during the update, so that field isn't being >> saved. I need to disable the join for the save so I can update the >> field. Can anyone tell me how to do this? >> > > Have you tried removing the associated data from $this->data? That > seems to me to be the easiest way to solve the problem, unless I am > misunderstanding it. > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
