Why are you doing development with FCGI? That makes it sound like you’ve
set things up to run in production mode, which has caching turned on by
default and would need to be turned off in
config/environment/production.rb … but really if this is the case
you should be developing in development mode, which has caching turned
Second, as the last respondent noted, why are you editing a live
application on a remote file share? Wouldn’t it be much easier to
develop directly on your OS X box with a less-elaborately configured
webserver that isn’t running an application-caching container like FCGI?
It really sounds like you’re running in production mode, which is pretty
hard to do by accident, but if you’re certain you’re in development mode
and this same thing happens when you use WEBrick instead of
lighttpd+fcgi, maybe it really is the timestamp issue on the files, in
which case you would need to consult Samba documentation. A
misconfigured fileserver is beyond the scope of a Rails list.
Phillip Novess wrote:
Does anybody know how to stop the caching for views?
I’m using Lighttpd with fcgi. Every time I make a change to the HTML in
a view, I have to restart lighttpd before I can see the result of the
change. I understand that the page is is compiled until it sees the
modification date has changed. However, I am working on a Linux machine
and editing the files on a Samba mount from my Mac OS X workstation. It
doesn’t look like the mod dates are being updated. So the result is a
Anybody have this problem? Know how to fix it?