method

possible_aggregation?

rails latest stable - Class: ActiveRecord::Calculations

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

possible_aggregation?(column_names)
private

No documentation available.

# File activerecord/lib/active_record/relation/calculations.rb, line 469
      def possible_aggregation?(column_names)
        column_names.all? do |column_name|
          if column_name.is_a?(String)
            column_name.include?("(")
          else
            Arel.arel_node?(column_name)
          end
        end
      end