Class | Brakeman::CheckModelAttributes |
In: |
lib/brakeman/checks/check_model_attributes.rb
|
Parent: | Brakeman::BaseCheck |
Check if mass assignment is used with models which inherit from ActiveRecord::Base.
If tracker.options[:collapse_mass_assignment] is true (default), all models which do not use attr_accessible will be reported in a single warning