class ActiveRecord::Relation::QueryAttribute

def ==(other)

def ==(other)
  super && value_for_database == other.value_for_database
end