method

arel_columns

arel_columns(columns)
protected

No documentation available.

# File activerecord/lib/active_record/relation/query_methods.rb, line 1662
      def arel_columns(columns)
        columns.flat_map do |field|
          case field
          when Symbol, String
            arel_column(field)
          when Proc
            field.call
          when Hash
            arel_columns_from_hash(field)
          else
            field
          end
        end
      end