diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-04-13 16:11:08 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-04-18 17:33:25 -0400 |
commit | 3ee56f7b3de34aa7f6bc9fc69c93544c3f037798 (patch) | |
tree | 6f0557a8bf3a92dfe40f5f3be67631e2033ba483 /actionpack/lib | |
parent | 29333ddb69e69d0fa99a66bf5fab333e8c5611aa (diff) | |
download | rails-3ee56f7b3de34aa7f6bc9fc69c93544c3f037798.tar.gz rails-3ee56f7b3de34aa7f6bc9fc69c93544c3f037798.tar.bz2 rails-3ee56f7b3de34aa7f6bc9fc69c93544c3f037798.zip |
Improve documentation
We are talking about a list of parameters even so we need to use plural.
Even if we were talking about the instance of the Parameters object we
would have to use the capital and monospaced font.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index ac8e7eec84..f816fd7f74 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -240,7 +240,7 @@ module ActionController end # Returns a safe <tt>ActiveSupport::HashWithIndifferentAccess</tt> - # representation of this parameter with all unpermitted keys removed. + # representation of the parameters with all unpermitted keys removed. # # params = ActionController::Parameters.new({ # name: 'Senjougahara Hitagi', @@ -259,7 +259,7 @@ module ActionController end end - # Returns a safe <tt>Hash</tt> representation of this parameter + # Returns a safe <tt>Hash</tt> representation of the parameters # with all unpermitted keys removed. # # params = ActionController::Parameters.new({ @@ -304,8 +304,8 @@ module ActionController alias_method :to_param, :to_query # Returns an unsafe, unfiltered - # <tt>ActiveSupport::HashWithIndifferentAccess</tt> representation of this - # parameter. + # <tt>ActiveSupport::HashWithIndifferentAccess</tt> representation of the + # parameters. # # params = ActionController::Parameters.new({ # name: 'Senjougahara Hitagi', |