Displaying 1 result from an estimated 1 matches for "2f9b75b4".
Did you mean:
1f9b75bf
2006 Jun 14
1
One table, two models.
so i have a people table, and a person has a persontype. the person
types are customer, and employee. I would like to make them into two
models, where i can call Employee.new(:name => ''chris'') and it would
make a person with the name chris and the persontype of employee, and be
able to do the same thing for Customer. is this possible while still
using only the one