Merge pull request #8338 from ugisozols/master

Fix Strong Parameters docs [ci skip]
This commit is contained in:
Carlos Antonio da Silva 2012-11-27 05:16:52 -08:00
commit 0be0a978ef
1 changed files with 1 additions and 2 deletions

View File

@ -70,8 +70,7 @@ module ActionController
# 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')