From 30861d240ea08e415c709c639d9b8cc87495b239 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 23 Apr 2022 15:06:17 -0300 Subject: [PATCH] =?UTF-8?q?aplicar=20la=20operaci=C3=B3n!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/jobs/stat_collection_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/stat_collection_job.rb b/app/jobs/stat_collection_job.rb index 16f04738..e70544c3 100644 --- a/app/jobs/stat_collection_job.rb +++ b/app/jobs/stat_collection_job.rb @@ -44,7 +44,7 @@ class StatCollectionJob < PeriodicJob .where_dimensions(site_id: site.id) .group("dimensions->'site_id'") .rollup(name, interval: interval, update: true) do |rollup| - rollup.try(:operation, :value) + rollup.try(operation, :value) end end