1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

- Remove four year old deprecation

This commit is contained in:
Vipul A M 2014-06-01 17:02:16 +05:30
parent 4ffc147fa6
commit 8574e97593

View file

@ -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