| View previous topic :: View next topic |
| Author |
Message |
swaminadhan
Joined: 14 Sep 2009 Posts: 84
|
Posted: Tue Jun 29, 2010 1:52 pm Post subject: Pluralized table names. |
|
|
Hi friends !
I have a small question to get clarified. Is there any option in rails to not look for pluralized table names ?. please kindly drop your answers.
Thank you. |
|
| Back to top |
|
 |
raviprakash
Joined: 21 Aug 2007 Posts: 33
|
Posted: Tue Jun 29, 2010 1:55 pm Post subject: |
|
|
Hi,
Open up config/environment.rb and add the following line
"ActiveRecord::Base.pluralize_table_names = false".
It will solve your problem.
Thanks |
|
| Back to top |
|
 |
|