aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorTrevor Turk <trevorturk@gmail.com>2013-02-28 15:50:28 -0600
committerTrevor Turk <trevorturk@gmail.com>2013-02-28 15:50:28 -0600
commit51876271e2d1aaf50f7b1d31db06132ec5827e95 (patch)
tree609d9b86e74dbfe5cd7b63f4d85462e1bb862684 /guides
parent0407ef5eaf965a69a8854370537f41d6da5b5060 (diff)
downloadrails-51876271e2d1aaf50f7b1d31db06132ec5827e95.tar.gz
rails-51876271e2d1aaf50f7b1d31db06132ec5827e95.tar.bz2
rails-51876271e2d1aaf50f7b1d31db06132ec5827e95.zip
Document common deprecations
Diffstat (limited to 'guides')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index b6f49c28b9..dc0bc5bea1 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -49,6 +49,8 @@ Rails 4.0 no longer supports loading plugins from `vendor/plugins`. You must rep
* Rails 4.0 has deprecated `ActiveRecord::Fixtures` in favor of `ActiveRecord::FixtureSet`.
+* Rails 4.0 has deprecated `ActiveRecord::TestCase` in favor of `ActiveSupport::TestCase`.
+
### Active Resource
Rails 4.0 extracted Active Resource to its own gem. If you still need the feature you can add the [Active Resource gem](https://github.com/rails/activeresource) in your Gemfile.
@@ -136,6 +138,15 @@ Also check your environment settings for `config.action_dispatch.best_standards_
* In Rails 4.0, `SCRIPT_NAME` is properly handled for mounted apps and engines. One caveat of the fix is that you should *not* set
`default_url_options[:script_name]` explicitly if your server already passes correct `SCRIPT_NAME` to rack env.
+* Rails 4.0 deprecated `ActionController::Integration` in favor of `ActionDispatch::Integration`.
+* Rails 4.0 deprecated `ActionController::IntegrationTest` in favor of `ActionDispatch::IntegrationTest`.
+* Rails 4.0 deprecated `ActionController::PerformanceTest` in favor of `ActionDispatch::PerformanceTest`.
+* Rails 4.0 deprecated `ActionController::AbstractRequest` in favor of `ActionDispatch::Request`.
+* Rails 4.0 deprecated `ActionController::Request` in favor of `ActionDispatch::Request`.
+* Rails 4.0 deprecated `ActionController::AbstractResponse` in favor of `ActionDispatch::Response`.
+* Rails 4.0 deprecated `ActionController::Response` in favor of `ActionDispatch::Response`.
+* Rails 4.0 deprecated `ActionController::Routing` in favor of `ActionDispatch::Routing`.
+
### Active Support
Rails 4.0 removes the `j` alias for `ERB::Util#json_escape` since `j` is already used for `ActionView::Helpers::JavaScriptHelper#escape_javascript`.