Skip to content

Commit

Permalink
Remove deprecated ActionDispatch::Request#deep_munge
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jan 4, 2015
1 parent 7fe7973 commit 7676659
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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::Request#deep_munge`.

*Rafael Mendonça França*

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

*Rafael Mendonça França*
Expand Down
9 changes: 0 additions & 9 deletions actionpack/lib/action_dispatch/http/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7676659

Please sign in to comment.