Flowdock
method

with

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: SelectManager
with(*subqueries) 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 217
    def with(*subqueries)
      if subqueries.first.is_a? Symbol
        node_class = Nodes.const_get("With#{subqueries.shift.to_s.capitalize}")
      else
        node_class = Nodes::With
      end
      @ast.with = node_class.new(subqueries.flatten)

      self
    end
Register or log in to add new notes.