lib/brakeman/checks/check_mass_assignment.rb in brakeman-1.3.0 vs lib/brakeman/checks/check_mass_assignment.rb in brakeman-1.4.0
- old
+ new
@@ -28,10 +28,11 @@
:attributes=,
:update_attribute,
:update_attributes,
:update_attributes!,
:create,
- :create!]
+ :create!,
+ :build]
Brakeman.debug "Processing possible mass assignment calls"
calls.each do |result|
process_result result
end