Hello All, Thanks for your replies. But to make sure that I get things right, you mean that I should create a table called "Ratings" and a table called "Privacies" and link "users" and "musics" each with a Many to many relations to each of Ratings and privacies ?
Actually in my case, the table musics_users_privacy does not contain an attribute for privacy, so i can just ignore it in the naming, but in Ratings I should have three tables "Ratings", "Musics" and "Users" and then have "Musics_Ratings" and "Users_Ratings" tables along with their models Is that correct ? Best Regards John On Wed, Mar 17, 2010 at 10:22 AM, WebbedIT <[email protected]> wrote: > They are two relations so you have two join tables, you just need to > define different join tables in each association, plus you need to > create a model for the ratings join model as Mateo states above to > allow for the rating attribute. > > HTH > > Paul > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
