Flowdock
method

join

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: SelectManager
join(relation, klass = Nodes::InnerJoin) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/select_manager.rb, line 104
    def join(relation, klass = Nodes::InnerJoin)
      return self unless relation

      case relation
      when String, Nodes::SqlLiteral
        raise EmptyJoinError if relation.empty?
        klass = Nodes::StringJoin
      end

      @ctx.source.right << create_join(relation, nil, klass)
      self
    end
Register or log in to add new notes.