Displaying 2 results from an estimated 2 matches for "castmemb".
Did you mean:
castleb
2006 Apr 17
1
HABTM relationship with two join tables
Ok, I have a People table, a Shows table, a Techs table, and a
Castmembers table. The people table has contact info about each person,
the techs and castmembers tables have information about the persons
specific role in that sshow. i want to call @show.techs (or somethign
equivelent, I don''t want to start that code yet) and get all the techs
associated w...
2006 Apr 16
1
has_many :through and belongs_to
I have a relationship where a Show has_many Techs through People. From
what I understand that requires me to put belongs_to Show in the People
model. My problem is that a Tech can belong to many Shows. Is there
any way of solving this besides putting a has_many Shows relationship in
People
--
Posted via http://www.ruby-forum.com/.