Skip to content

Commit acf2ca2

Browse files
authored
Fix types in ActionController::Parameters docs
Small typo I noticed while reading through: `Paramaters` -> `Parameters`. Thanks!
1 parent fe0fb9f commit acf2ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/metal/strong_parameters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class InvalidParameterKey < ArgumentError
109109
# Person.first.update!(permitted)
110110
# # => #<Person id: 1, name: "Francesco", age: 22, role: "user">
111111
#
112-
# Paramaters provides two options that control the top-level behavior of new
112+
# Parameters provides two options that control the top-level behavior of new
113113
# instances:
114114
#
115115
# * `permit_all_parameters` - If it's `true`, all the parameters will be

0 commit comments

Comments
 (0)