1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Rafael Mendonça França 2017-04-13 16:11:08 -04:00
parent 29333ddb69
commit 3ee56f7b3d
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -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',