diff options
author | robertomiranda <rjmaltamar@gmail.com> | 2013-02-01 16:33:40 -0500 |
---|---|---|
committer | robertomiranda <rjmaltamar@gmail.com> | 2013-02-01 16:37:35 -0500 |
commit | a83183c72155db3f11af287281ef3c13d56dddce (patch) | |
tree | 1a6219bbdcc7df3abc291870e5822c9bf710a234 /guides/source/configuring.md | |
parent | f2c7a5d5df0fdf21d854ca25f3b99858aa399217 (diff) | |
download | rails-a83183c72155db3f11af287281ef3c13d56dddce.tar.gz rails-a83183c72155db3f11af287281ef3c13d56dddce.tar.bz2 rails-a83183c72155db3f11af287281ef3c13d56dddce.zip |
Remove BestStandardsSupport references
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index c1f31fd2b0..be46e15078 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -207,7 +207,6 @@ Every Rails application comes with a standard set of middleware which it uses in * `ActionDispatch::ParamsParser` parses out parameters from the request into `params`. * `Rack::MethodOverride` allows the method to be overridden if `params[:_method]` is set. This is the middleware which supports the PATCH, PUT, and DELETE HTTP method types. * `ActionDispatch::Head` converts HEAD requests to GET requests and serves them as so. -* `ActionDispatch::BestStandardsSupport` enables "best standards support" so that IE8 renders some elements correctly. Besides these usual middleware, you can add your own by using the `config.middleware.use` method: @@ -230,13 +229,13 @@ config.middleware.insert_after ActionDispatch::Head, Magical::Unicorns Middlewares can also be completely swapped out and replaced with others: ```ruby -config.middleware.swap ActionDispatch::BestStandardsSupport, Magical::Unicorns +config.middleware.swap ActionController::Failsafe, Lifo::Failsafe ``` They can also be removed from the stack completely: ```ruby -config.middleware.delete ActionDispatch::BestStandardsSupport +config.middleware.delete "Rack::MethodOverride" ``` ### Configuring i18n |