method

select_aggregate

rails latest stable - Class: ActiveRecord::Calculations::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.1.6) is shown here.

select_aggregate(operation, column_name, options)
private

No documentation available.

# File activerecord/lib/active_record/calculations.rb, line 200
        def select_aggregate(operation, column_name, options)
          "#{operation}(#{'DISTINCT ' if options[:distinct]}#{column_name})"
        end