From d766ee4eff68284e28462f1afe3e9c6c6d061698 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 30 Apr 2022 16:44:23 -0300 Subject: [PATCH] =?UTF-8?q?fixup!=20agregar=20la=20dimensi=C3=B3n=20al=20a?= =?UTF-8?q?grupar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/jobs/uri_collection_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/uri_collection_job.rb b/app/jobs/uri_collection_job.rb index 44642c1f..a0b1181e 100644 --- a/app/jobs/uri_collection_job.rb +++ b/app/jobs/uri_collection_job.rb @@ -77,7 +77,7 @@ class UriCollectionJob < PeriodicJob # Acumular por mes y año reduce_rollup('host', beginning, :sum, **host_dimensions) - columns.each_key do |column| + columns.each_pair do |column, values| values.each do |value| column_dimensions = { host: host } column_dimensions[column] = value