Displaying 2 results from an estimated 2 matches for "persontype".
Did you mean:
person_type
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...
2006 Jan 02
13
Naming Conventions
So, RoR is better at grammer than I. Well so is my nine year old.
If I have a table named "people_type" will Rails see this as singular
because of the _type or will it consider it the plural of "person_type"
?
Is there a link to Rails that lists what words it knows, or what words
not to use in table design etc.
Kindest regards.
--
Posted via http://www.ruby-forum.com/.