search for: has_and_belongs_many

Displaying 1 result from an estimated 1 matches for "has_and_belongs_many".

Did you mean: has_and_belongsto_many
2006 Feb 27
1
Help with tricky object relations
In a document management system I''m building each document belongs to a company and a department in that company. So far so good, but the problem is that a single document can also belong to multiple companies and departments. What I would like to do is to have different pages with links to documents for each company and on those pages divide them under the departments. What is the best