We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27095b1 + f8f7587 commit 15b253eCopy full SHA for 15b253e
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