Created
November 25, 2011 03:26
-
-
Save karthiks/1392757 to your computer and use it in GitHub Desktop.
Rails - NO pluralizing of table names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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