diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-02 23:19:29 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:41 -0300 |
commit | 7fe7973cd8bd119b724d72c5f617cf94c18edf9e (patch) | |
tree | 690432b31fbd7eeaf88d32ca614cd9cb7d68cc33 | |
parent | e4cfd353a47369dd32198b0e67b8cbb2f9a1c548 (diff) | |
download | rails-7fe7973cd8bd119b724d72c5f617cf94c18edf9e.tar.gz rails-7fe7973cd8bd119b724d72c5f617cf94c18edf9e.tar.bz2 rails-7fe7973cd8bd119b724d72c5f617cf94c18edf9e.zip |
Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters`
-rw-r--r-- | actionpack/CHANGELOG.md | 4 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/http/parameters.rb | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 6fc473468b..3ed3f87268 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,7 @@ +* Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters`. + + *Rafael Mendonça França* + * Remove deprecated option `use_route` in controller tests. *Rafael Mendonça França* diff --git a/actionpack/lib/action_dispatch/http/parameters.rb b/actionpack/lib/action_dispatch/http/parameters.rb index a5cd26a3c1..c2f05ecc86 100644 --- a/actionpack/lib/action_dispatch/http/parameters.rb +++ b/actionpack/lib/action_dispatch/http/parameters.rb @@ -1,6 +1,5 @@ require 'active_support/core_ext/hash/keys' require 'active_support/core_ext/hash/indifferent_access' -require 'active_support/deprecation' module ActionDispatch module Http @@ -25,13 +24,6 @@ module ActionDispatch @env[PARAMETERS_KEY] = parameters end - def symbolized_path_parameters - ActiveSupport::Deprecation.warn( - '`symbolized_path_parameters` is deprecated. Please use `path_parameters`.' - ) - path_parameters - end - # Returns a hash with the \parameters used to form the \path of the request. # Returned hash keys are strings: # |