From 8d46360cbd5e5ae650ac6d735f5a44f0f57b7aee Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 16 Aug 2010 17:27:16 -0700 Subject: adding comment to myself --- lib/arel/nodes/binary.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/arel') diff --git a/lib/arel/nodes/binary.rb b/lib/arel/nodes/binary.rb index 44204d91e0..4eccba2765 100644 --- a/lib/arel/nodes/binary.rb +++ b/lib/arel/nodes/binary.rb @@ -15,6 +15,8 @@ module Arel # FIXME: this method should go away. I don't like people calling # to_sql on non-head nodes. This forces us to walk the AST until we # can find a node that has a "relation" member. + # + # Maybe we should just use `Table.engine`? :'( def to_sql viz = Visitors::ToSql.new left.relation.engine viz.accept self -- cgit v1.2.3