Displaying 1 result from an estimated 1 matches for "projectmember".
Did you mean:
project_members
2006 May 11
1
ActiveRecord collection_select and has_and_belongs_to_many
...les
id
name
table project_members
id
employee_id
project_id
role_id
I then have the following ActiveRecord objects:
class Employee < ActiveRecord::Base
has_and_belongs_to_many :project_members, :join_table =>
"project_members", :class_name => "ProjectMember"
end
class Project < ActiveRecord::Base
has_and_belongs_to_many :project_members, :join_table =>
"project_members", :class_name => "ProjectMember"
end
class ProjectRole < ActiveRecord::Base
has_and_belongs_to_many :project_members, :join_table =>
"...