Re: Saving model without saving associated models

2008-01-17 Thread Tim Wild
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 wri

Re: Saving model without saving associated models

2008-01-17 Thread Chris Hartjes
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 t

Saving model without saving associated models

2008-01-17 Thread Tim W
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? I think I can do this using the unbindModel() m