diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/binary.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |