Scaffold upper case table and underscores

Hello I am learning how to use ruby on rails. I was able to generate
model and controller for lower case tables just doing

./script/generate model Post
./script/generate controller Post

and then adding

scaffold :post

to the .rb controller file. I was unable to just change scaffold :post
to scaffold: MY_CONTACTS. My table is upper case with underscores does
this make a difference. I am also using the sybase adapter. Thanks.

On Mon, Mar 3, 2008 at 11:10 AM, joe [email protected] wrote:

Hello I am learning how to use ruby on rails. I was able to generate
model and controller for lower case tables just doing

You should look into the set_table_name[1] command if you have to deal
with legacy tables. If you don’t have to deal with legacy tables, you
should follow the Rails conventions for table names and you’ll be a
lot happier.

And then you should wander over to the Rails [2] mailing list, because
this is the Ruby, not Rails, community.

[1] ActiveRecord::Base
[2] http://groups.google.com/group/rubyonrails-talk