Add comment

This commit is contained in:
Jorge Manrubia
2025-04-11 09:49:34 +02:00
parent 1bac0b84b3
commit 5360b4ccb4
+1
View File
@@ -8,6 +8,7 @@ module Card::Golden
scope :with_golden_first, -> do
left_outer_joins(:goldness).tap do |relation|
# Make sure it can be layered in with other orderings taking precedence.
relation.order_values.unshift("card_goldnesses.id IS NULL")
end
end