method

sanitize

rails latest stable - Class: ActiveModel::MassAssignmentSecurity::Sanitizer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

sanitize(attributes, authorizer)
public

Returns all attributes not denied by the authorizer.