# File lib/arel/table.rb, line 55 def join relation, klass = Nodes::InnerJoin return from(self) unless relation case relation when String, Nodes::SqlLiteral raise if relation.blank? from Nodes::StringJoin.new(self, relation) else from klass.new(self, relation, nil) end end