class ActiveRecord::Result::IndexedRow

def ==(other)

def ==(other)
  if other.is_a?(Hash)
    to_hash == other
  else
    super
  end
end