# File lib/arel/algebra/relations/relation.rb, line 105
    def join(other_relation = nil, join_class = InnerJoin)
      case other_relation
      when String
        StringJoin.new(self, other_relation)
      when Relation
        JoinOperation.new(join_class, self, other_relation)
      else
        self
      end
    end