aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/strong_parameters.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-08-29 14:24:31 +0200
committerXavier Noria <fxn@hashref.com>2015-08-29 14:24:56 +0200
commitb7bd4d9f2630cd93dc0a725ee026c7901f03a606 (patch)
tree98f94cef9419e8153734a55f4f19c0c40108c0ce /actionpack/lib/action_controller/metal/strong_parameters.rb
parenteefb6db4a92dd87baac257e92197671421e48d9b (diff)
downloadrails-b7bd4d9f2630cd93dc0a725ee026c7901f03a606.tar.gz
rails-b7bd4d9f2630cd93dc0a725ee026c7901f03a606.tar.bz2
rails-b7bd4d9f2630cd93dc0a725ee026c7901f03a606.zip
swaps words [ci skip]
Diffstat (limited to 'actionpack/lib/action_controller/metal/strong_parameters.rb')
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index 32e569e005..8f36932e8e 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -263,7 +263,7 @@ module ActionController
# # ActionController::ParameterMissing: param is missing or the value is empty: person
#
# When given an array of keys, the method tries to require each one of them
- # in order. It if succeeds an array with the respective return values is
+ # in order. If it succeeds, an array with the respective return values is
# returned:
#
# params = ActionController::Parameters.new(user: { ... }, profile: { ... })