1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

defaulting to Table.engine for now

This commit is contained in:
Aaron Patterson 2010-08-16 17:46:41 -07:00
parent 9daa0bbe15
commit 466e3925b5

View file

@ -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