Linter prefer double-quoted strings

This commit is contained in:
Jason Zimdars
2024-09-13 10:16:03 -05:00
parent 3cf841d463
commit a144cd1d14
+2 -2
View File
@@ -5,10 +5,10 @@ class BubblesController < ApplicationController
if params[:tag_id]
@tag = Tag.find(params[:tag_id])
@bubbles = @tag.bubbles
@most_active_bubbles = @tag.bubbles.left_joins(:comments, :boosts).group(:id).order(Arel.sql('COUNT(comments.id) + COUNT(boosts.id) DESC')).limit(10)
@most_active_bubbles = @tag.bubbles.left_joins(:comments, :boosts).group(:id).order(Arel.sql("COUNT(comments.id) + COUNT(boosts.id) DESC")).limit(10)
else
@bubbles = Bubble.all.order(created_at: :desc)
@most_active_bubbles = Bubble.left_joins(:comments, :boosts).group(:id).order(Arel.sql('COUNT(comments.id) + COUNT(boosts.id) DESC')).limit(10)
@most_active_bubbles = Bubble.left_joins(:comments, :boosts).group(:id).order(Arel.sql("COUNT(comments.id) + COUNT(boosts.id) DESC")).limit(10)
end
end