Skip to content

Commit 7fe7973

Browse files
committed
Remove deprecated ActionDispatch::Http::Parameters#symbolized_path_parameters
1 parent e4cfd35 commit 7fe7973

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Diff for: actionpack/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters`.
2+
3+
*Rafael Mendonça França*
4+
15
* Remove deprecated option `use_route` in controller tests.
26

37
*Rafael Mendonça França*

Diff for: actionpack/lib/action_dispatch/http/parameters.rb

-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
require 'active_support/core_ext/hash/keys'
22
require 'active_support/core_ext/hash/indifferent_access'
3-
require 'active_support/deprecation'
43

54
module ActionDispatch
65
module Http
@@ -25,13 +24,6 @@ def path_parameters=(parameters) #:nodoc:
2524
@env[PARAMETERS_KEY] = parameters
2625
end
2726

28-
def symbolized_path_parameters
29-
ActiveSupport::Deprecation.warn(
30-
'`symbolized_path_parameters` is deprecated. Please use `path_parameters`.'
31-
)
32-
path_parameters
33-
end
34-
3527
# Returns a hash with the \parameters used to form the \path of the request.
3628
# Returned hash keys are strings:
3729
#

0 commit comments

Comments
 (0)