From b7bd4d9f2630cd93dc0a725ee026c7901f03a606 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 29 Aug 2015 14:24:31 +0200 Subject: swaps words [ci skip] --- actionpack/lib/action_controller/metal/strong_parameters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/metal/strong_parameters.rb') 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: { ... }) -- cgit v1.2.3