Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created November 25, 2011 03:26
Show Gist options
  • Save karthiks/1392757 to your computer and use it in GitHub Desktop.
Save karthiks/1392757 to your computer and use it in GitHub Desktop.
Rails - NO pluralizing of table names
# config/environment.rb
# This will prevent Rails from pluralizing the table names
ActiveRecord::Base.pluralize_table_names = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment