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