method

from

from(table)
public

No documentation available.

# File activerecord/lib/arel/select_manager.rb, line 85
    def from(table)
      table = Nodes::SqlLiteral.new(table) if String === table

      case table
      when Nodes::Join
        @ctx.source.right << table
      else
        @ctx.source.left = table
      end

      self
    end