Add comment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user