Skip to content
Permalink
Browse files

Remove deprecated `ActionDispatch::Request#deep_munge`

  • Loading branch information
rafaelfranca committed Jan 4, 2015
1 parent 7fe7973 commit 7676659633057dacd97b8da66e0d9119809b343e
Showing with 4 additions and 9 deletions.
  1. +4 −0 actionpack/CHANGELOG.md
  2. +0 −9 actionpack/lib/action_dispatch/http/request.rb
@@ -1,3 +1,7 @@
* Remove deprecated `ActionDispatch::Request#deep_munge`.

*Rafael Mendonça França*

* Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters`.

*Rafael Mendonça França*
@@ -337,15 +337,6 @@ def local?
LOCALHOST =~ remote_addr && LOCALHOST =~ remote_ip
end

# Extracted into ActionDispatch::Request::Utils.deep_munge, but kept here for backwards compatibility.
def deep_munge(hash)
ActiveSupport::Deprecation.warn(
'This method has been extracted into `ActionDispatch::Request::Utils.deep_munge`. Please start using that instead.'
)

Utils.deep_munge(hash)
end

protected
def parse_query(qs)
Utils.deep_munge(super)

0 comments on commit 7676659

Please sign in to comment.
You can’t perform that action at this time.