method

fetch

fetch(column)
public

No documentation available.

# File activerecord/lib/active_record/result.rb, line 75
      def fetch(column)
        if index = @column_indexes[column]
          @row[index]
        elsif block_given?
          yield
        else
          raise KeyError, "key not found: #{column.inspect}"
        end
      end