diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-27 05:16:52 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-27 05:16:52 -0800 |
commit | 0be0a978ef920384685537120da82d7ad60add1e (patch) | |
tree | 9e0083171bbc97e1d81aee13aae384557594b8d6 | |
parent | d7f8aabf71d95fe651d66836b600deee6f6e8880 (diff) | |
parent | 9fb4803016fbc2108b9446b441dc40d8189c9cfb (diff) | |
download | rails-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.rb | 3 |
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') |