method

join

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Table
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/table.rb, line 42
    def join(relation, klass = Nodes::InnerJoin)
      return from unless relation

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

      from.join(relation, klass)
    end
Register or log in to add new notes.