aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r--lib/arel/nodes/with.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/arel/nodes/with.rb b/lib/arel/nodes/with.rb
index ce1644b60e..0745080cc3 100644
--- a/lib/arel/nodes/with.rb
+++ b/lib/arel/nodes/with.rb
@@ -1,14 +1,7 @@
module Arel
module Nodes
class With < Arel::Nodes::Unary
- attr_reader :children
- alias value children
- alias expr children
-
- def initialize *children
- @children = children
- end
-
+ alias children expr
end
class WithRecursive < With; end