Legacy support: removing underscore from table name

I am using ms sql server and want to configure RoR such that it does not
convert the given table name (example: rubyonrails) to ruby_on_rails.

I set @@pluralize_table_names = false, so that it does not pluralize
the table names but cannot find the config setting which will force it
not to put underscore between words in a table name.

thanks in advance,


Try this in your class definition:
set_table_name “rubyonrails”

I think that will make the table name explicit, and keep rails from
converting a class named RubyOnRails into a table named ruby_on_rails.