Skip to content
Permalink
Browse files
Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_p…
…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.
@@ -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*
@@ -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 @@ 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:
#

0 comments on commit 7fe7973

Please sign in to comment.