Rails 3自动添加X-UA-Compatible标头?

如果您使用IE8,Rails 3会自动添加标题吗? 我看到X-UA-Compatible的元标记设置为“IE = 8.0000”并且它弄乱了我的一个观点。

我似乎无法找到任何可以做到的事情,所以我想在这里问大脑。

谢谢,Ruprict

如果我们看一下vanilla rails3 app中加载的所有中间件:

rake middleware (in /private/tmp/bla) use ActionDispatch::Static use Rack::Lock use ActiveSupport::Cache::Strategy::LocalCache use Rack::Runtime use Rails::Rack::Logger use ActionDispatch::ShowExceptions use ActionDispatch::RemoteIp use Rack::Sendfile use ActionDispatch::Callbacks use ActiveRecord::ConnectionAdapters::ConnectionManagement use ActiveRecord::QueryCache use ActionDispatch::Cookies use ActionDispatch::Session::CookieStore use ActionDispatch::Flash use ActionDispatch::ParamsParser use Rack::MethodOverride use ActionDispatch::Head use ActionDispatch::BestStandardsSupport run Bla::Application.routes 

有ActionDispatch :: BestStandardsSupport哪个源设置X-UA-Compatible标头,但不是IE = 8.000。 你运行3.0.0吗?