Many to Many relations between 3 tables
Posted on 2008-09-30
I have four tables.
Now I want to establish Many to Many relationship between Projects, Roles, Users.
I have search on the net for many to many relation and found lot of examples specifying relationship on two table using has_and_belongs_to or has many through options. How can i achieve this task of specifying many to many relationship between three tables using has_and_belongs_to and has_many through options.