diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-16 17:46:41 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-16 17:46:41 -0700 |
commit | 466e3925b51aaf42c5bd02fbd566d371349a10b2 (patch) | |
tree | df6caa2d593619b78ebed9bbc52d6983cbd20084 /lib/arel/nodes | |
parent | 9daa0bbe153f1a85319c97756aebcda82bac7bdd (diff) | |
download | rails-466e3925b51aaf42c5bd02fbd566d371349a10b2.tar.gz rails-466e3925b51aaf42c5bd02fbd566d371349a10b2.tar.bz2 rails-466e3925b51aaf42c5bd02fbd566d371349a10b2.zip |
defaulting to Table.engine for now
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/binary.rb | 2 |
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 |