On 9/8/06, Brian French <[EMAIL PROTECTED]> wrote: > > I am having trouble associating the multiple models i have with each other. > > I have a 'User' that hasOne 'Fan','Artist','Venue','Promoter'. > The 'User' also hasAndBelongsToMany of the same ones (like he can > subscribe to them as well as be one/all of them). > > I am using the scaffolding to view the associations with them. The > associations are being added ok but when i view the user, the > associations aren't being picked up. Here are the 'User' model and the > 'Artist' model (the fan, artist, venue and promoter models all look the > same). > > What am i doing wrong? >
I've never used the scaffolding before, but can you show the code that you think is pulling out the User information? Also, the database output (showing all the queries) would be helpfull. I wonder if the scaffolding is setting the recursive stuff to -1 and simply showing User records only... -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
