Skip to content

Commit 9f4f3f5

Browse files
committed
Fix pessimistic locking tests
1 parent 8ab734d commit 9f4f3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arel/visitors/sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class SQLServer < Arel::Visitors::ToSql
1414
# SQLServer ToSql/Visitor (Overides)
1515

1616
def visit_Arel_Nodes_BindParam o, collector
17-
collector.add_bind(o) { |i| "@#{i-1}" }
17+
collector.add_bind(o.value) { |i| "@#{i-1}" }
1818
end
1919

2020
def visit_Arel_Nodes_Bin o, collector

0 commit comments

Comments
 (0)