From 8574e97593a8b2b04dce35b9d7519c1c74ff58d9 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sun, 1 Jun 2014 17:02:16 +0530 Subject: - Remove four year old deprecation --- lib/arel/nodes/and.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/arel/nodes/and.rb b/lib/arel/nodes/and.rb index 62e8ef6f11..8e1afda709 100644 --- a/lib/arel/nodes/and.rb +++ b/lib/arel/nodes/and.rb @@ -3,12 +3,8 @@ module Arel class And < Arel::Nodes::Node attr_reader :children - def initialize children, right = nil + def initialize children super() - unless Array === children - warn "(#{caller.first}) AND nodes should be created with a list" - children = [children, right] - end @children = children end -- cgit v1.2.3