aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-10-23 13:24:18 -0400
committerGitHub <noreply@github.com>2017-10-23 13:24:18 -0400
commit8c7aa4c7bcb4ae42db8c573ba64a5eabdf54ecd1 (patch)
treec05dc7ca3e0792b4d490efc32b6dfa5c17b84287 /actionpack/lib
parent280fb08fc78f7809eba69d1f3bcc8fc9411d34c9 (diff)
parentfea8d3509d65396f7c04a5e2608ef8863e1abe75 (diff)
downloadrails-8c7aa4c7bcb4ae42db8c573ba64a5eabdf54ecd1.tar.gz
rails-8c7aa4c7bcb4ae42db8c573ba64a5eabdf54ecd1.tar.bz2
rails-8c7aa4c7bcb4ae42db8c573ba64a5eabdf54ecd1.zip
Merge pull request #30945 from rafaelfranca/remove-deprecations
Remove deprecations
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/http/parameters.rb5
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb4
2 files changed, 2 insertions, 7 deletions
diff --git a/actionpack/lib/action_dispatch/http/parameters.rb b/actionpack/lib/action_dispatch/http/parameters.rb
index ae875eb830..8d7431fd6b 100644
--- a/actionpack/lib/action_dispatch/http/parameters.rb
+++ b/actionpack/lib/action_dispatch/http/parameters.rb
@@ -123,9 +123,4 @@ module ActionDispatch
end
end
end
-
- module ParamsParser
- include ActiveSupport::Deprecation::DeprecatedConstantAccessor
- deprecate_constant "ParseError", "ActionDispatch::Http::Parameters::ParseError"
- end
end
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 18862d819f..71cb458112 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -584,14 +584,14 @@ module ActionDispatch
if route.segment_keys.include?(:controller)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
Using a dynamic :controller segment in a route is deprecated and
- will be removed in Rails 5.2.
+ will be removed in Rails 6.0.
MSG
end
if route.segment_keys.include?(:action)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
Using a dynamic :action segment in a route is deprecated and
- will be removed in Rails 5.2.
+ will be removed in Rails 6.0.
MSG
end