Hi,
I have been developing on the local box up until yesterday when I moved
the dev environment to a common server. Everything works just fine
except for one thing. Rails seems to be caching templates. I cannot
edit a template and make the changes show up without having to bounce
the server (mongrel or webrick, same story).
I checked all the config files for the caching and it is turned off as
far as i can tell. If I put something like raise hell in one of my
controllers, the errors get thrown like usual. Seems like it is just
affecting the templates.
#development.rb
config.cache_classes = false
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false
config.action_view.cache_template_extensions = false
config.action_view.debug_rjs = true
It’s not caching urls, just the templates. If I make the controller
return less results or something similar, that shows up fine, but if I
add something to the template, that will not.
If I move the template out of the way between requests, an error gets
thrown, so it is looking for it.
Have not verified if it is persistant or the cache clears after a
while.
Any ideas?
Thanks,
Fredrik