aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-27 05:16:52 -0800
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-27 05:16:52 -0800
commit0be0a978ef920384685537120da82d7ad60add1e (patch)
tree9e0083171bbc97e1d81aee13aae384557594b8d6
parentd7f8aabf71d95fe651d66836b600deee6f6e8880 (diff)
parent9fb4803016fbc2108b9446b441dc40d8189c9cfb (diff)
downloadrails-0be0a978ef920384685537120da82d7ad60add1e.tar.gz
rails-0be0a978ef920384685537120da82d7ad60add1e.tar.bz2
rails-0be0a978ef920384685537120da82d7ad60add1e.zip
Merge pull request #8338 from ugisozols/master
Fix Strong Parameters docs [ci skip]
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index da640502a2..99a4e312cf 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -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')