method
sanitize
rails latest stable - Class:
ActiveModel::MassAssignmentSecurity::Sanitizer
sanitize(attributes, authorizer)public
Returns all attributes not denied by the authorizer.
sanitize(attributes, authorizer)Returns all attributes not denied by the authorizer.