HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/actionpack-7.0.4.2/ri/ActionController/Parameters/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"&ActionController::Parameters::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"FReturns a new instance of <tt>ActionController::Parameters</tt>. ;TI"BAlso, sets the +permitted+ attribute to the default value of ;TI"A<tt>ActionController::Parameters.permit_all_parameters</tt>.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"'class Person < ActiveRecord::Base
;TI"	end
;TI"
;TI"Bparams = ActionController::Parameters.new(name: "Francesco")
;TI"#params.permitted?  # => false
;TI"CPerson.new(params) # => ActiveModel::ForbiddenAttributesError
;TI"
;TI"?ActionController::Parameters.permit_all_parameters = true
;TI"
;TI"Bparams = ActionController::Parameters.new(name: "Francesco")
;TI""params.permitted?  # => true
;TI"APerson.new(params) # => #<Person id: nil, name: "Francesco">;T:@format0:
@fileI"5lib/action_controller/metal/strong_parameters.rb;T:0@omit_headings_from_table_of_contents_below000[I",(parameters = {}, logging_context = {});T@FI"Parameters;TcRDoc::NormalClass00