Skip to content

Commit

Permalink
Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_p…
Browse files Browse the repository at this point in the history
…arameters`
  • Loading branch information
rafaelfranca committed Jan 4, 2015
1 parent e4cfd35 commit 7fe7973
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions actionpack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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*
Expand Down
8 changes: 0 additions & 8 deletions actionpack/lib/action_dispatch/http/parameters.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -25,13 +24,6 @@ def path_parameters=(parameters) #:nodoc:
@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:
#
Expand Down

0 comments on commit 7fe7973

Please sign in to comment.