method

hash_rows

hash_rows()
private

No documentation available.

# File activerecord/lib/active_record/result.rb, line 261
      def hash_rows
        # We use transform_values to rows.
        # This is faster because we avoid any reallocs and avoid hashing entirely.
        @hash_rows ||= @rows.map do |row|
          column_indexes.transform_values { |index| row[index] }
        end
      end