Skip to content

Commit

Permalink
some grammatical corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev authored and fxn committed Jun 6, 2011
1 parent 0e8857b commit dff7c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actionpack/lib/action_controller/metal/params_wrapper.rb
Expand Up @@ -64,7 +64,7 @@ module ActionController
# end # end
# #
# will try to check if +Admin::User+ or +User+ model exists, and use it to # will try to check if +Admin::User+ or +User+ model exists, and use it to
# determine the wrapper key respectively. If both of the model doesn't exists, # determine the wrapper key respectively. If both models don't exist,
# it will then fallback to use +user+ as the key. # it will then fallback to use +user+ as the key.
module ParamsWrapper module ParamsWrapper
extend ActiveSupport::Concern extend ActiveSupport::Concern
Expand All @@ -88,14 +88,14 @@ module ClassMethods
# # wraps parameters into +params[:person]+ hash # # wraps parameters into +params[:person]+ hash
# #
# wrap_parameters Person # wrap_parameters Person
# # wraps parameters by determine the wrapper key from Person class # # wraps parameters by determining the wrapper key from Person class
# (+person+, in this case) and the list of attribute names # (+person+, in this case) and the list of attribute names
# #
# wrap_parameters :include => [:username, :title] # wrap_parameters :include => [:username, :title]
# # wraps only +:username+ and +:title+ attributes from parameters. # # wraps only +:username+ and +:title+ attributes from parameters.
# #
# wrap_parameters false # wrap_parameters false
# # disable parameters wrapping for this controller altogether. # # disables parameters wrapping for this controller altogether.
# #
# ==== Options # ==== Options
# * <tt>:format</tt> - The list of formats in which the parameters wrapper # * <tt>:format</tt> - The list of formats in which the parameters wrapper
Expand Down

0 comments on commit dff7c62

Please sign in to comment.