Class
ActiveModel::MassAssignmentSecurity::Sanitizer
In:
lib/active_model/mass_assignment_security/sanitizer.rb
Parent:
Object
Methods
debug_protected_attribute_removal
new
process_removed_attributes
sanitize
Public Class methods
new
(target=nil)
Public Instance methods
sanitize
(attributes, authorizer)
Returns all attributes not denied by the authorizer.
Protected Instance methods
debug_protected_attribute_removal
(attributes, sanitized_attributes)
process_removed_attributes
(attrs)
[Validate]