class ActiveModel::AttributeSet

def ==(other)

def ==(other)
  other.is_a?(AttributeSet) && attributes == other.send(:attributes)
end