Displaying 1 result from an estimated 1 matches for "can_produc".
Did you mean:
can_produce
2006 Jan 16
0
belongs_to with has_and_belongs_to_many
...elongs_to_many :members, :join_table => ''projects__members''
end
And the DDL:
create table members (
member_id serial primary key
, email_address text not null unique
, is_active boolean not null default true
, is_admin boolean not null default false
, can_produce boolean not null default false
);
create table projects (
project_id serial primary key
, project_name text not null unique
, created_by integer not null
references members (member_id)
);
create table projects__members (
project_id integer not null
reference...