From f25ee14a470d7505098fd3fdae04ddcffe70f2e2 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Tue, 25 Jul 2017 19:00:12 +0000 Subject: Address `undefined method `value_for_database'` in Oracle visitor Here `offset` is bound twice. It used to be `:b1` appeared twice. This commit changes the second `offset` name changed from `:b1` to `:b3` which should not affect the actual bind values for offset. --- test/visitors/test_oracle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/visitors/test_oracle.rb b/test/visitors/test_oracle.rb index 603d0f1184..fce6606d35 100644 --- a/test/visitors/test_oracle.rb +++ b/test/visitors/test_oracle.rb @@ -136,7 +136,7 @@ module Arel FROM (SELECT ) raw_sql_ WHERE rownum <= (:a1 + :a2) ) - WHERE raw_rnum_ > :a1 + WHERE raw_rnum_ > :a3 } end -- cgit v1.2.3