method

to_h

rails latest stable - Class: ActiveRecord::Result::IndexedRow

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

to_h()
public

No documentation available.

# File activerecord/lib/active_record/result.rb, line 86
      def to_h
        @column_indexes.transform_values { |index| @row[index] }
      end