Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix Strong Parameters docs #8338

Merged
merged 1 commit into from Nov 27, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −2
Split
@@ -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')