Skip to content

Commit fecd069

Browse files
authored
Merge pull request rails#53414 from mthadley/fix-codeblock-action-controller-parameters-docs
Fix `ActionController::Parameters` docs code block following list [ci-skip]
2 parents 7a30cc9 + 2a7369b commit fecd069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

actionpack/lib/action_controller/metal/strong_parameters.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ class InvalidParameterKey < ArgumentError
9595
# * `permit` to filter params for mass assignment.
9696
# * `require` to require a parameter or raise an error.
9797
#
98+
# Examples:
99+
#
98100
# params = ActionController::Parameters.new({
99101
# person: {
100102
# name: "Francesco",

0 commit comments

Comments
 (0)