Hi, I'm experiencing something very strange, rails 2.0.1. I'm running my app in development mode, yet it is caching views... If I put some random text in a view and refresh the page it isn't there... yet if I restart the app server it magically appears! to add to the weirdness, models and controllers are not being cached and if I deliberately break a method i get an exception as you would expect. I am running my app with the following command: /usr/local/bin/ruby18 /usr/local/bin/mongrel_rails start -p 12026 -d - e development Anyone have any ideas? Appreciated Rob
on 23.04.2008 08:10
on 23.04.2008 23:53
I guess that it's worth checking config/environments/development.rb and config/environment.rb. Make sure that you have anything with "cache" set to false, such as: config.action_controller.perform_caching = false config.action_view.cache_template_extensions = false Other than that, I have no great ideas (and it's not all that great, either). -Kyle