method

column_indexes

column_indexes()
public

No documentation available.

# File activerecord/lib/active_record/result.rb, line 203
    def column_indexes # :nodoc:
      @column_indexes ||= begin
        index = 0
        hash = {}
        length  = columns.length
        while index < length
          hash[columns[index]] = index
          index += 1
        end
        hash.freeze
      end
    end