aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/grouping.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/grouping.rb')
-rw-r--r--lib/arel/nodes/grouping.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/arel/nodes/grouping.rb b/lib/arel/nodes/grouping.rb
index 0af1df1f7a..d52671f169 100644
--- a/lib/arel/nodes/grouping.rb
+++ b/lib/arel/nodes/grouping.rb
@@ -6,16 +6,6 @@ module Arel
def initialize expression
@expr = expression
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