Results 1 to 3 of 3
Thread: table naming question
May 29, 2007, 20:12 #1
table naming question
im just getting started learning ror and i don't know which name to give a table.
i want a table called 'categories' but the singular form of 'categories' is not 'categorie'.
if i name my table 'categories', will this cause trouble for me later with my controllers and models?
if it will cause problems, how do i solve the problem?
May 29, 2007, 22:06 #2
- Join Date
- Jan 2006
- 0 Post(s)
- 0 Thread(s)
Name it Categories and use Category
Rails is smart enough to figure it outIf you give someone a program,
you will frustrate them for a day;
if you teach them how to program,
you will frustrate them for a lifetime.
May 29, 2007, 22:39 #3