class ActiveModel::LazyAttributeHash

def ==(other)

def ==(other)
  if other.is_a?(LazyAttributeHash)
    materialize == other.materialize
  else
    materialize == other
  end
end