According to ‘Agile web development with rails’ “… a model is
automatically mapped to a database table whose name is the plural form
of the model’s class”. Sure enough, when I created migrations for
‘Tc_project’, ‘Tc_employee’ and ‘Tc_period’ the migration files issue
a ‘create table’ with the table names pluralized. However, when I
issue “Rails generate scaffold Tc_data…” the create table statement
in the migration DID NOT pluralize ‘tc_data’ to ‘tc_datas’!
Does anyone know if this will create a ‘convention’ problem between
model and table references for the table ‘Tc_data’?
Unless I hear otherwise I will assume Rails knows what it is doing and
run the migration as-is and proceed as if nothing is out of the
ordinary. If Rails chokes on this I will post a reply to my own
Thanks in advance for any help. Fred