lib/active_record/where_chain_shared_methods.rb
# Arel::Nodes::InfixOperation.new expects more arguments than other Arel nodes
:Nodes::InfixOperation.new expects more arguments than other Arel nodes
: Nodes :: InfixOperation . new expects more arguments than other Arel nodes
def arel_node(node_type, infix, rel)
        if infix.present?
          node_type.new(infix, rel.left, rel.right)
        else
          node_type.new(rel.left, rel.right)
        end
      end
def arel_node ( node_type , infix , rel ) if infix . present? node_type . new ( infix , rel . left , rel . right ) else node_type . new ( rel . left , rel . right ) end end
Arel::Nodes::InfixOperation.new expects more arguments than other Arel nodes
Arel :: Nodes :: InfixOperation . new expects more arguments than other Arel nodes
node_type
infix
rel