diff --git a/app/models/poll/stats.rb b/app/models/poll/stats.rb index 62b53a15b..4191f0715 100644 --- a/app/models/poll/stats.rb +++ b/app/models/poll/stats.rb @@ -104,7 +104,7 @@ class Poll::Stats end stats_cache(*stats_methods) - stats_cache :voters, :recounts + stats_cache :participants, :voters, :recounts def stats_cache(key, &block) Rails.cache.fetch("polls_stats/#{poll.id}/#{key}/v12", &block)