The following command issued at the terminal prompt for a Rails
project should create a PostGreSQL table with the actual Table Name of
Customers, but instead it creates a Table Name of customers.  This is
extremely disconcerting to me.  Especially when I discovered that
after using single quote marks (in the hope of remedying this), the
command could not succeed in creating the other "serialization table"
for tracking the autoincrementing id field.

The command in question:

ruby script/generate scaffold Customer LegalName:string Address:string
City:string State:string PostalCode:string

The real surprise was that the field name cases were actually
preserved!  But not the Table Name.  I don't know why, but apparently
there are a lot of programmers who think that "case does not matter"
where table names are concerned.  But they matter a Great Deal to
me...ok?


--~--~---------~--~----~------------~-------~--~----~
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