lib/prosperity/aggregate/maximum.rb in prosperity-0.0.10 vs lib/prosperity/aggregate/maximum.rb in prosperity-0.0.11

- old
+ new

@@ -2,10 +2,10 @@ class Aggregate::Maximum < Aggregate::WithColumn def to_sql "MAX(#{column})" end - def apply(scope) + def apply(scope, options = {}) scope.maximum(column) end end end