aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-12-16 22:53:19 +0100
committerPiotr Sarnacki <drogus@gmail.com>2010-12-16 22:53:19 +0100
commitf176b2552ecc06634dae53b82a4562d8e80aeed6 (patch)
tree7e97124c36952f594318acf8747f5e2f85324bbd
parent40b15f9f389b9394b22cf36567269e54c66c9fc8 (diff)
downloadrails-f176b2552ecc06634dae53b82a4562d8e80aeed6.tar.gz
rails-f176b2552ecc06634dae53b82a4562d8e80aeed6.tar.bz2
rails-f176b2552ecc06634dae53b82a4562d8e80aeed6.zip
Changelog and guide entries for config.action_view.cache_template_loading
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--railties/guides/source/configuring.textile2
2 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index acd9bd5b63..93b29bcc3a 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*Rails 3.1.0 (unreleased)*
+* brought back config.action_view.cache_template_loading, which allows to decide whether templates should be cached or not [Piotr Sarnacki]
+
* url_for and named url helpers now accept :subdomain and :domain as options [Josh Kalderimis]
* The redirect route method now also accepts a hash of options which will only change the parts of the url in question, or an object which responds to call, allowing for redirects to be reused (check the documentation for examples). [Josh Kalderimis]
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 33319fa40a..d5faf3da2c 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -63,6 +63,8 @@ end
* +config.cache_classes+ controls whether or not application classes should be reloaded on each request. Defaults to _true_ in development, _false_ in test and production. Can also be enabled with +threadsafe!+.
+* +config.action_view.cache_template_loading+ controls whether or not templates should be reloaded on each request. Defaults to whatever is set for config.cache_classes.
+
* +config.cache_store+ configures which cache store to use for Rails caching. Options include +:memory_store+, +:file_store+, +:mem_cache_store+ or the name of your own custom class. Defaults to +:file_store+.
* +config.colorize_logging+ specifies whether or not to use ANSI color codes when logging information. Defaults to _true_.