aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-16 17:46:41 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-16 17:46:41 -0700
commit466e3925b51aaf42c5bd02fbd566d371349a10b2 (patch)
treedf6caa2d593619b78ebed9bbc52d6983cbd20084 /lib
parent9daa0bbe153f1a85319c97756aebcda82bac7bdd (diff)
downloadrails-466e3925b51aaf42c5bd02fbd566d371349a10b2.tar.gz
rails-466e3925b51aaf42c5bd02fbd566d371349a10b2.tar.bz2
rails-466e3925b51aaf42c5bd02fbd566d371349a10b2.zip
defaulting to Table.engine for now
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/nodes/binary.rb2
1 files changed, 1 insertions, 1 deletions
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