method
select_for_count
v3.2.8 -
Show latest stable
- Class:
ActiveRecord::Calculations
select_for_count()private
No documentation available.
# File activerecord/lib/active_record/relation/calculations.rb, line 345
def select_for_count
if @select_values.present?
select = @select_values.join(", ")
select if select !~ /(,|\*)/
end
end