method

join

Importance_0
v6.0.0 - 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 37
    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.