On 7/26/07, rtanz <[EMAIL PROTECTED]> wrote:
>
> i would say user hasMany Roles as a user can be for example a teacher
> in both module1 and module2, am i correct?
>
> also, the manual says (if i am understanding well) that if you say
> Roles hasMany Users, it is the only module associated to those users.
> in my case however this is not true as those users could also be
> associated with other modules

Then go with Roles hasManyAndBelongsTo Users.

The important thing is to actually try this stuff out.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to