Permalink
Browse files

fix typos in AC::StrongParameters documentation [ci skip]

  • Loading branch information...
Francesco Rodriguez
Francesco Rodriguez committed Sep 22, 2012
1 parent 3395ebe commit fa9424695644c12efeb8413511eea4f55b3bb22c
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -290,9 +290,9 @@ def each_element(object)
# end
#
# # This will pass with flying colors as long as there's a person key in the
- # # parameters, otherwise it'll raise a ActionController::MissingParameter
+ # # parameters, otherwise it'll raise an ActionController::MissingParameter
# # exception, which will get caught by ActionController::Base and turned
- # # into that 400 Bad Request reply.
+ # # into a 400 Bad Request reply.
# def update
# redirect_to current_account.people.find(params[:id]).tap { |person|
# person.update_attributes!(person_params)

0 comments on commit fa94246

Please sign in to comment.