diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2013-03-01 11:47:04 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2013-03-01 11:47:04 -0700 |
commit | 99775fd1612217aaba2f3580b4204c6b75c04249 (patch) | |
tree | 9162530b61b7e423d6b97b4e92bfb0f32bf25e05 | |
parent | b49a2a779ba6deba108d1f842ab5b7bc7460aa14 (diff) | |
download | rails-99775fd1612217aaba2f3580b4204c6b75c04249.tar.gz rails-99775fd1612217aaba2f3580b4204c6b75c04249.tar.bz2 rails-99775fd1612217aaba2f3580b4204c6b75c04249.zip |
Restore note about nested SCRIPT_NAME handling.
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 85dd171eff..57945a256b 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -145,6 +145,8 @@ Also check your environment settings for `config.action_dispatch.best_standards_ * In Rails 4.0, a generic `ActionDispatch::ParamsParser::ParseError` exception is raised when `ParamsParser` fails to parse request params. You will want to rescue this exception instead of the low-level `MultiJson::DecodeError`, for example. +* In Rails 4.0, `SCRIPT_NAME` is properly nested when engines are mounted on an app that's served from a URL prefix. You no longer have to set `default_url_options[:script_name]` to work around overwritten URL prefixes. + * 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`. |