In order to use StrictSanitizer in test mode Consider :id as not sensetive attribute that can be filtered from mass assignement without exception.
In order to specify your own sanitize method Implemented .mass_assignment_sanitizer configuration option
Added an ability to specify your own behavior on mass assingment protection, controlled by option: ActiveModel::MassAssignmentSecurity.mass_assignment_sanitizer
…d make debug always be called since some people may overwrite warn! to add extra behavior even if logger is not available.
Signed-off-by: José Valim <email@example.com>