| View previous topic :: View next topic |
| Author |
Message |
sravish
Joined: 04 Sep 2007 Posts: 26
|
Posted: Wed Jul 01, 2009 6:32 am Post subject: Solution for server restart |
|
|
Hi to all,
I am new to the ROR. i hosted a rails application in server. and i created a rails application through Cpanel, i kept the application in production mode. but for every code change i need to restart the server. is there any solution for the code changes affecting without refreshing server every time.
Thanks |
|
| Back to top |
|
 |
s.nagesh
Joined: 23 Jul 2007 Posts: 131
|
Posted: Wed Jul 01, 2009 6:47 am Post subject: |
|
|
Open config/environment/production.rb and find the following line of code
config.cache_classes = true
Change "true" to false.
now it becomes
config.cache_classes = true
And for affecting this once restart the server. after that your changes will affect without restarting server. |
|
| Back to top |
|
 |
|