Welcome Guest | Login

I cant view the update rhtml file correctly

first of all i have to say sry for my bad english.

After i deploy my test application.

I met a problem that my rhtml page is not updated.

Example
I have Controller  "test", and there is method "hi"
in ~/view/test/hi.rhtml   contain text "hello world"

But in browser http://<myip>/test/hi, It shows text that "WOW THAT'S"  which is my previous version after i change it to "hello world"

how to fix this problem?

2008-04-21 01:48 AM

I've killed your dispatch.fcgi process. Your site is showing up the Hello World page now. Please check.

2008-04-21 03:53 AM

Thx u so much...Mr. Santhi

It means that i have to kill dispacth.fcgi process after
i edit some codes right?

2008-04-21 08:16 AM

Exactly, yes - you'll need to kill the fcgi cache to see the changes taking place on your website.

2008-04-21 08:26 AM

cool support team

thx Varun

2008-04-21 08:31 AM

Why do we need to restart dispatch.fcgi process to see changes? If that process wasn't restarted, how long would it take for the changes to show up?

2008-04-22 09:36 PM

In production mode with FastCGI much of your application data is cached and held in memory. This means that Rails is 'always on' and ready to feed a browser with code. However, if you make any changes to your app (database, controllers, views, models, config, etc...) and don't see your changes right away, you'll need to run the following command.
----------
killall dispatch.fcgi

You'll see that you won't be able to shut down other users' processes, but unless you see a "no processes killed" this means your dispatch.fcgi processes were indeed killed and ready to start up again with the new changes incorporated.

2008-04-23 02:12 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.