class method
self.new
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5Signature
self.new(target)
No documentation comment.
Parameters
-
targetreq
Source
# File activemodel/lib/active_model/mass_assignment_security/sanitizer.rb, line 31
def initialize(target)
@target = target
super
end
Defined in activemodel/lib/active_model/mass_assignment_security/sanitizer.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::MassAssignmentSecurity::LoggerSanitizer