From 466e3925b51aaf42c5bd02fbd566d371349a10b2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 16 Aug 2010 17:46:41 -0700 Subject: defaulting to Table.engine for now --- lib/arel/nodes/binary.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/arel/nodes/binary.rb b/lib/arel/nodes/binary.rb index 4eccba2765..fdfcab2d3f 100644 --- a/lib/arel/nodes/binary.rb +++ b/lib/arel/nodes/binary.rb @@ -18,7 +18,7 @@ module Arel # # Maybe we should just use `Table.engine`? :'( def to_sql - viz = Visitors::ToSql.new left.relation.engine + viz = Visitors::ToSql.new Table.engine viz.accept self end end -- cgit v1.2.3