Displaying 1 result from an estimated 1 matches for "movies_people_typ".
Did you mean:
movies_people_types
2006 Aug 17
1
More on n-way.
...e a situation where I can have an *Actor*,
that is ALSO a *Director* or a *Writer too.
If I update some Actor information, I have to update it on the other
tables (Directors,Writers), if it''s there.
Solution ?
Using database, I solve like this.
@person
id
name
birth
...
@type
id
name
@movies_people_types
movie_id
person_id
type_id
In this way, I can have the same person working on a movie as a
Director AND as an Actor,
and I just update information in one place, the Person model.
How to put this on Rails ? If theres another way to get in the same
result, I`d appreciate suggetsiont.
PS. Sorry...