Permalink
Browse files

Merge pull request #8338 from ugisozols/master

Fix Strong Parameters docs [ci skip]
  • Loading branch information...
2 parents d7f8aab + 9fb4803 commit 0be0a978ef920384685537120da82d7ad60add1e @carlosantoniodasilva carlosantoniodasilva committed Nov 27, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionpack/lib/action_controller/metal/strong_parameters.rb
View
3 actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -70,8 +70,7 @@ class Parameters < ActiveSupport::HashWithIndifferentAccess
# Also, sets the +permitted+ attribute to the default value of
# <tt>ActionController::Parameters.permit_all_parameters</tt>.
#
- # class Person
- # include ActiveRecord::Base
+ # class Person < ActiveRecord::Base
# end
#
# params = ActionController::Parameters.new(name: 'Francesco')

0 comments on commit 0be0a97

Please sign in to comment.