# File lib/brakeman/checks/check_nested_attributes_bypass.rb, line 20
  def check_nested_attributes
    active_record_models.each do |name, model|
      if opts = model.options[:accepts_nested_attributes_for]
        opts.each do |args|
          if args.any? { |a| allow_destroy? a } and args.any? { |a| reject_if? a }
            warn_about_nested_attributes name, model, args
          end
        end
      end
    end
  end