diff options
Diffstat (limited to 'lib/arel/nodes/binary.rb')
-rw-r--r-- | lib/arel/nodes/binary.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/arel/nodes/binary.rb b/lib/arel/nodes/binary.rb index 090468adfa..cfa75909c5 100644 --- a/lib/arel/nodes/binary.rb +++ b/lib/arel/nodes/binary.rb @@ -7,16 +7,6 @@ module Arel @left = left @right = right end - - # 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 Table.engine - viz.accept self - end end end end |