class ActiveRecord::Associations::ClassMethods::JoinDependency::JoinAssociation

def ==(other)

def ==(other)
  other.class == self.class &&
  other.reflection == reflection &&
  other.parent == parent
end