method

select_for_count

rails latest stable - Class: ActiveRecord::Calculations
select_for_count()
private

No documentation available.

# File activerecord/lib/active_record/relation/calculations.rb, line 617
      def select_for_count
        if select_values.present?
          return select_values.first if select_values.one?
          select_values.join(", ")
        else
          :all
        end
      end