From 755cceb6bdc029f963d239d27f54e1c715cf4ec6 Mon Sep 17 00:00:00 2001 From: Jose Farias Date: Fri, 11 Oct 2024 20:20:45 -0500 Subject: [PATCH] Use size for counting bubble comments --- app/helpers/bubbles_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/bubbles_helper.rb b/app/helpers/bubbles_helper.rb index e1d2fdc84..8bdf50648 100644 --- a/app/helpers/bubbles_helper.rb +++ b/app/helpers/bubbles_helper.rb @@ -8,7 +8,7 @@ module BubblesHelper end def bubble_size(bubble) - activity = bubble.boost_count + bubble.comments.count + activity = bubble.boost_count + bubble.comments.size rank = case activity when 0..5 then "one"