Flowdock
method

operation_over_aggregate_column

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActiveRecord::Calculations
operation_over_aggregate_column(column, operation, distinct) 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/calculations.rb, line 194
    def operation_over_aggregate_column(column, operation, distinct)
      operation == 'count' ? column.count(distinct) : column.send(operation)
    end
Register or log in to add new notes.