aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/and.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/and.rb')
-rw-r--r--lib/arel/nodes/and.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/nodes/and.rb b/lib/arel/nodes/and.rb
index 0d0fb3ee82..62e8ef6f11 100644
--- a/lib/arel/nodes/and.rb
+++ b/lib/arel/nodes/and.rb
@@ -4,6 +4,7 @@ module Arel
attr_reader :children
def initialize children, right = nil
+ super()
unless Array === children
warn "(#{caller.first}) AND nodes should be created with a list"
children = [children, right]