aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-18 15:36:55 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-18 15:36:55 -0700
commit38d2bf5fd1f3e014f2397898d371c339baa627b1 (patch)
treedeb693f38ee9b8e1892d813d0a0e3eb35f20aa28 /railties
parenta9334616120cffb560017e6a563ad401e425602b (diff)
downloadrails-38d2bf5fd1f3e014f2397898d371c339baa627b1.tar.gz
rails-38d2bf5fd1f3e014f2397898d371c339baa627b1.tar.bz2
rails-38d2bf5fd1f3e014f2397898d371c339baa627b1.zip
mostly remove the ParamsParser middleware
This can still be added to the middleware stack, but is really not necessary. I'll follow up with a commit that deprecates the constant
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/application/default_middleware_stack.rb1
-rw-r--r--railties/test/application/middleware_test.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/railties/lib/rails/application/default_middleware_stack.rb b/railties/lib/rails/application/default_middleware_stack.rb
index 88eade5c5a..21062f3a53 100644
--- a/railties/lib/rails/application/default_middleware_stack.rb
+++ b/railties/lib/rails/application/default_middleware_stack.rb
@@ -72,7 +72,6 @@ module Rails
middleware.use ::ActionDispatch::Flash
end
- middleware.use ::ActionDispatch::ParamsParser
middleware.use ::Rack::Head
middleware.use ::Rack::ConditionalGet
middleware.use ::Rack::ETag, "no-cache"
diff --git a/railties/test/application/middleware_test.rb b/railties/test/application/middleware_test.rb
index d298e8d632..138c63266e 100644
--- a/railties/test/application/middleware_test.rb
+++ b/railties/test/application/middleware_test.rb
@@ -43,7 +43,6 @@ module ApplicationTests
"ActionDispatch::Cookies",
"ActionDispatch::Session::CookieStore",
"ActionDispatch::Flash",
- "ActionDispatch::ParamsParser",
"Rack::Head",
"Rack::ConditionalGet",
"Rack::ETag"
@@ -70,7 +69,6 @@ module ApplicationTests
"ActionDispatch::Callbacks",
"ActiveRecord::ConnectionAdapters::ConnectionManagement",
"ActiveRecord::QueryCache",
- "ActionDispatch::ParamsParser",
"Rack::Head",
"Rack::ConditionalGet",
"Rack::ETag"