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???
on 2005-12-28 20:34
on 2005-12-29 01:00
you can turn off pluralization by adding the following to your environment.rb file - ActiveRecord::Base.pluralize_table_names = false