This file is indexed.

/usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/core.rb is in ruby-protected-attributes 1.1.3-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
module ActiveRecord
  module MassAssignmentSecurity
    module Core

      private

      def init_attributes(attributes, options)
        assign_attributes(attributes, options)
      end

      def init_internals
        super
        @mass_assignment_options = nil
      end
    end
  end
end