Flowdock
method

arel_columns

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
arel_columns(columns) 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 1065
    def arel_columns(columns)
      columns.map do |field|
        if (Symbol === field || String === field) && columns_hash.key?(field.to_s) && !from_value
          arel_table[field]
        elsif Symbol === field
          connection.quote_table_name(field.to_s)
        else
          field
        end
      end
    end
Register or log in to add new notes.