aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2014-06-01 17:02:16 +0530
committerVipul A M <vipulnsward@gmail.com>2014-06-01 17:02:16 +0530
commit8574e97593a8b2b04dce35b9d7519c1c74ff58d9 (patch)
tree709541de1576027ab76fe17444be27ff93d85240 /lib
parent4ffc147fa63ae6c554e151a8407d3ea0ad0a717b (diff)
downloadrails-8574e97593a8b2b04dce35b9d7519c1c74ff58d9.tar.gz
rails-8574e97593a8b2b04dce35b9d7519c1c74ff58d9.tar.bz2
rails-8574e97593a8b2b04dce35b9d7519c1c74ff58d9.zip
- Remove four year old deprecation
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/nodes/and.rb6
1 files changed, 1 insertions, 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