5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 14:21:41 +00:00

fixup! generar estadísticas de uso de infra

This commit is contained in:
f 2022-04-30 14:44:27 -03:00
parent 6bf286077b
commit 8d4958af53

View file

@ -36,7 +36,7 @@ class StatCollectionJob < PeriodicJob
# #
# @return [ActiveRecord::Relation] # @return [ActiveRecord::Relation]
def scope def scope
@scope ||= site.build_stats.jekyll.where('created_at >= ?', beginning_of_interval) @scope ||= site.build_stats.jekyll.where('created_at >= ?', beginning_of_interval).group(:site_id)
end end
# Las opciones por defecto # Las opciones por defecto