From 40cb2ad0ae3da12bbc22ca394ad7022da04a4375 Mon Sep 17 00:00:00 2001 From: Nathan Sparrow <24910097+DismalShadowX@users.noreply.github.com> Date: Wed, 1 May 2024 02:10:16 -0400 Subject: [PATCH] Update statuses.rb Signed-off-by: Nathan Sparrow <24910097+DismalShadowX@users.noreply.github.com> --- app/models/trends/statuses.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/trends/statuses.rb b/app/models/trends/statuses.rb index 2afae35fec146e..bd2782a8eac89b 100644 --- a/app/models/trends/statuses.rb +++ b/app/models/trends/statuses.rb @@ -77,7 +77,7 @@ def refresh(at_time = Time.now.utc) # Now that all trends have up-to-date scores, and all the ones below the threshold have # been removed, we can recalculate their positions # Retrieve trending statuses with a limit of 10 - trending_statuses = query.limit(10).to_arel.load + trending_statuses = query.limit(10).to_arel.load # Process the retrieved trending statuses trending_statuses.each do |status|