aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-04 10:39:06 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-04 10:39:06 -0700
commitb0a7068564f0c95e7ef28fc39d0335ed17d93e90 (patch)
tree2217c9913db4a9023ef3980f343d72d2645d4b2f /guides
parent7d204ed126e69ec1b88ea07fd630f6d54936d1ef (diff)
parentea042bad262e34933ccf5d3f8f217afe35f4dca2 (diff)
downloadrails-b0a7068564f0c95e7ef28fc39d0335ed17d93e90.tar.gz
rails-b0a7068564f0c95e7ef28fc39d0335ed17d93e90.tar.bz2
rails-b0a7068564f0c95e7ef28fc39d0335ed17d93e90.zip
Merge pull request #7833 from frodsan/extract_ap_pages_actions_caching
Extract AP Page and Action caching from Rails
Diffstat (limited to 'guides')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index d6c425a356..0ae0e30ab7 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -69,6 +69,13 @@ in the `config/initializers/wrap_parameters.rb` file:
### Action Pack
+Rails 4.0 has deprecated `ActionController::Base.page_cache_extension` option. Use
+`ActionController::Base.default_static_extension` instead.
+
+Rails 4.0 has removed Action and Page caching from ActionPack. You will need to
+add the `actionpack-action_caching` gem in order to use `caches_action` and
+the `actionpack-page_caching` to use `caches_pages` in your controllers.
+
Rails 4.0 changed how `assert_generates`, `assert_recognizes`, and `assert_routing` work. Now all these assertions raise `Assertion` instead of `ActionController::RoutingError`.
Rails 4.0 also changed the way unicode character routes are drawn. Now you can draw unicode character routes directly. If you already draw such routes, you must change them, for example: