From ebcb53c1cfaec15609c42c7bc41e72f8662f49ad Mon Sep 17 00:00:00 2001 From: robertomiranda Date: Mon, 4 Feb 2013 18:00:18 -0500 Subject: [PATCH] Update upgrading guide with ActionDispatch::BestStandardsSupport removal --- guides/source/upgrading_ruby_on_rails.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index b4a59fe3da..59e21e9be2 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -82,6 +82,8 @@ becomes get 'こんにちは', controller: 'welcome', action: 'index' ``` +* Rails 4.0 has removed ActionDispatch::BestStandardsSupport middleware, !DOCTYPE html already triggers standards mode per http://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx and ChromeFrame header has been moved to `config.action_dispatch.default_headers` + ### 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`.