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
question.

Thanks in advance for any help.  Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to