Simple scaffold question


#1

How do I get scaffold to generate code for a table whos name is not
plural
of the modelname I give to it. I.E., If I have an existing database, and
wish to generate scaffold code for existing tables, is this possible???


#2

you can turn off pluralization by adding the following to your
environment.rb file -

ActiveRecord::Base.pluralize_table_names = false