Skip to content

Commit 7676659

Browse files
committed
Remove deprecated ActionDispatch::Request#deep_munge
1 parent 7fe7973 commit 7676659

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

actionpack/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Remove deprecated `ActionDispatch::Request#deep_munge`.
2+
3+
*Rafael Mendonça França*
4+
15
* Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters`.
26

37
*Rafael Mendonça França*

actionpack/lib/action_dispatch/http/request.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -337,15 +337,6 @@ def local?
337337
LOCALHOST =~ remote_addr && LOCALHOST =~ remote_ip
338338
end
339339

340-
# Extracted into ActionDispatch::Request::Utils.deep_munge, but kept here for backwards compatibility.
341-
def deep_munge(hash)
342-
ActiveSupport::Deprecation.warn(
343-
'This method has been extracted into `ActionDispatch::Request::Utils.deep_munge`. Please start using that instead.'
344-
)
345-
346-
Utils.deep_munge(hash)
347-
end
348-
349340
protected
350341
def parse_query(qs)
351342
Utils.deep_munge(super)

0 commit comments

Comments
 (0)