Skip to content

Commit b5a0cf7

Browse files
committed
str to sval
1 parent ca02fc0 commit b5a0cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arel/sql_to_arel/pg_query_visitor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def visit_SQLValueFunction(attribute)
777777
def visit_String(attribute, context = nil)
778778
case context
779779
when :operator
780-
attribute.str
780+
attribute.sval
781781
when :const
782782
Arel::Nodes.build_quoted attribute.str
783783
else

0 commit comments

Comments
 (0)