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:
parent
4ffc147fa6
commit
8574e97593
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue