lib/brakeman/checks/check_mass_assignment.rb in brakeman-3.1.3 vs lib/brakeman/checks/check_mass_assignment.rb in brakeman-3.1.4

- old
+ new

@@ -7,9 +7,14 @@ class Brakeman::CheckMassAssignment < Brakeman::BaseCheck Brakeman::Checks.add self @description = "Finds instances of mass assignment" + def initialize(*) + super + @mass_assign_calls = nil + end + def run_check check_mass_assignment check_permit! end