search for: is_engin

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

Did you mean: is_endian
2006 Sep 25
3
Subclasses - help required
Hello all and hoping for some insight a project manger type of application, staff are assigned to projects, but each staff has varied roles for different projects... STI does not seem to be applicable here Imagine a table staffs... id int name varchar blah.... is_manager int 1 is_engineer int 1 is_producer int 1 and projects... id name manager_id engineer_id producer_id how is the best way to subclass manager, engineer, and producer from class:staff?? cheers -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this m...