You mean in the model? I've tried that before, but it doesn't change the error.
I think there's something wrong with my associations in general, because I get an array that looks different from what I had hoped for, and the error stays too. (It goes away when I remove the page->widget association, which is in a way understandable, because a page contains no widgets: a page contains layers, which in turn contain widgets. It's hard for me to have a clear understanding of how I should set this up. On 13 apr, 13:38, "Mike Griffin" <[EMAIL PROTECTED]> wrote: > On 4/13/07, gerbenzomp <[EMAIL PROTECTED]> wrote: > > > But I think this isn't the right approach, because I get the error: > > SQL Error in model Page: 1052: Column 'id' in order clause is > > ambiguous > > You need to use the model name in front of the id as well. > Something like Page.id or Widget.id, depending on which one you want. > > Mike. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---