Skip to content

Commit 8a9a3c4

Browse files
committed
Remove redundant "Filtering" comment [ci skip]
The comment in question was not rendered in the previous style of API docs: ![old](https://github.com/user-attachments/assets/e0e404f7-ed50-45bc-a44e-5c07e7380dea) However it renders in a weird way in the new style of API docs: ![new](https://github.com/user-attachments/assets/24a768cc-215e-4c82-8a84-9ae8a6589518) I believe we can remove that comment. I also checked and there is no other place in the code with a comment of that type, `# ---`. After the commit, the API docs look like this: ![after](https://github.com/user-attachments/assets/313b0e27-df51-466e-a264-cf8dd322d5b6)
1 parent 9f39304 commit 8a9a3c4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

actionpack/lib/action_controller/metal/strong_parameters.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,9 +1287,6 @@ def unpermitted_keys(params)
12871287
keys - params.keys - always_permitted_parameters
12881288
end
12891289

1290-
#
1291-
# --- Filtering ----------------------------------------------------------
1292-
#
12931290
# This is a list of permitted scalar types that includes the ones supported in
12941291
# XML and JSON requests.
12951292
#

0 commit comments

Comments
 (0)