lib/brakeman/checks/check_mass_assignment.rb in brakeman-1.9.2 vs lib/brakeman/checks/check_mass_assignment.rb in brakeman-1.9.3
- old
+ new
@@ -71,9 +71,10 @@
user_input = nil
end
warn :result => res,
:warning_type => "Mass Assignment",
+ :warning_code => :mass_assign_call,
:message => "Unprotected mass assignment",
:code => call,
:user_input => user_input,
:confidence => confidence
end