aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/2_3_release_notes.textile
diff options
context:
space:
mode:
authorJohn Trupiano <jtrupiano@gmail.com>2009-03-01 14:48:27 -0500
committerJohn Trupiano <jtrupiano@gmail.com>2009-03-01 14:48:27 -0500
commitbee4bf1288252cd23b99a83782d76d59d3171911 (patch)
tree79593d7cf56551b91a7f1ff03f9111ae69ec3eb2 /railties/guides/source/2_3_release_notes.textile
parenta60d41af6b0324c77c7ea74086f6f936d8fe28b3 (diff)
parent61656cf7702f46fcbb810a70bf0298ac5ea6c0d3 (diff)
downloadrails-bee4bf1288252cd23b99a83782d76d59d3171911.tar.gz
rails-bee4bf1288252cd23b99a83782d76d59d3171911.tar.bz2
rails-bee4bf1288252cd23b99a83782d76d59d3171911.zip
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/2_3_release_notes.textile')
-rw-r--r--railties/guides/source/2_3_release_notes.textile3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/source/2_3_release_notes.textile b/railties/guides/source/2_3_release_notes.textile
index 051379c437..c58cbc0b81 100644
--- a/railties/guides/source/2_3_release_notes.textile
+++ b/railties/guides/source/2_3_release_notes.textile
@@ -320,6 +320,7 @@ h4. Other Action Controller Changes
* You can now use symbols for the +:type+ option of +send_file+ and +send_data+, like this: +send_file("fabulous.png", :type => :png)+.
* The +:only+ and +:except+ options for +map.resources+ are no longer inherited by nested resources.
* The bundled memcached client has been updated to version 1.6.4.99.
+* The +expires_in+, +stale?+, and +fresh_when+ methods now accept a +:public+ option to make them work well with proxy caching.
h3. Action View
@@ -448,7 +449,7 @@ In most cases, you'll want template caching to be turned on in production, which
config.action_view.cache_template_loading = true
</ruby>
-This line will be generated for you by default in a new Rails 2.3 application. But please note: if you've upgraded from an older version of Rails, you won't have this setting in your +production.rb+ and template caching will be off by default. Unless you really need the ability to update templates in production without restarting the server, you should be sure to add this setting when you upgrade.
+This line will be generated for you by default in a new Rails 2.3 application. If you've upgraded from an older version of Rails, Rails will default to caching templates in production and test but not in development.
h4. Other Action View Changes