http://groups.google.com/group/cake-php/browse_thread/thread/e70d4147be079a08/c491f7eb4589c43c?lnk=gst&q=self+habtm#c491f7eb4589c43c
On Jul 21, 8:34 pm, hellfish <[EMAIL PROTECTED]> wrote: > bumping... > > Any clues please? > > This should be simple for a more experienced user. > > On Jul 16, 11:56 pm, hellfish <[EMAIL PROTECTED]> wrote: > > > I've been searching a lot and I'm still having a hard time to model > > something that I want to include on my bands website > > [shamelessPlug]http://www.karbonsoul.com[/shamelessPlug]. > > > What would be the cake (v1.2) way of modeling a small users network > > where a registered user has the possibility to add other registered > > users as friends. > > > I have a table "users", I know I need a table to have the HABTM > > associations between users (and a few extra attributes that I want to > > add later) but what should be the naming here? and the model code? > > > In theory I would have a table called "users", the associations table > > "users_users" and so on, but this doesn't have any logic in this case. > > > I've been trying around with no success, every solution I try seems > > like a hack on cakephp. > > > If you have any hints on the path I should follow, I would appreciate > > very much --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
