We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b5245e commit f8f7587Copy full SHA for f8f7587
lib/closure_tree/support_attributes.rb
@@ -80,7 +80,7 @@ def dont_order_roots
80
end
81
82
def nulls_last_order_by
83
- "-#{quoted_order_column} #{order_by_order(true)}"
+ Arel.sql "-#{quoted_order_column} #{order_by_order(true)}"
84
85
86
def order_by_order(reverse = false)
0 commit comments