lib/kasket/visitor.rb in kasket-4.4.4 vs lib/kasket/visitor.rb in kasket-4.4.5
- old
+ new
@@ -142,9 +142,10 @@
def visit_FalseClass(_node)
0
end
def quoted(node)
+ return node if node.is_a?(String)
@model_class.connection.quote(node)
end
# any non `id asc` ordering
def ordered?(node)