aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-04 11:06:54 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-10-04 11:06:54 -0500
commitea042bad262e34933ccf5d3f8f217afe35f4dca2 (patch)
tree33b1d0e5021d7319a01d1eb4272a77403b9552b8 /guides/source/upgrading_ruby_on_rails.md
parentc82cf81f00f018386bd55d406db30725caaa5096 (diff)
downloadrails-ea042bad262e34933ccf5d3f8f217afe35f4dca2.tar.gz
rails-ea042bad262e34933ccf5d3f8f217afe35f4dca2.tar.bz2
rails-ea042bad262e34933ccf5d3f8f217afe35f4dca2.zip
add an entry about AP page and action extraction in the upgrading guide [ci skip]
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.md')
-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: