Flowdock
method

build_select

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
build_select(arel, selects) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/query_methods.rb, line 271
    def build_select(arel, selects)
      unless selects.empty?
        @implicit_readonly = false
        arel.project(*selects)
      else
        arel.project(Arel::SqlLiteral.new(@klass.quoted_table_name + '.*'))
      end
    end
Register or log in to add new notes.