From 74e826a9e9e626e90f081a7a6de998114b418c02 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 18 May 2020 07:58:48 +0900 Subject: [PATCH] Use symbol consistently for operator in InfixOperation --- activerecord/lib/arel/nodes/infix_operation.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/activerecord/lib/arel/nodes/infix_operation.rb b/activerecord/lib/arel/nodes/infix_operation.rb index 312714429b..462870d13d 100644 --- a/activerecord/lib/arel/nodes/infix_operation.rb +++ b/activerecord/lib/arel/nodes/infix_operation.rb @@ -43,19 +43,19 @@ module Arel # :nodoc: all class Concat < InfixOperation def initialize(left, right) - super("||", left, right) + super(:"||", left, right) end end class Contains < InfixOperation def initialize(left, right) - super("@>", left, right) + super(:"@>", left, right) end end class Overlaps < InfixOperation def initialize(left, right) - super("&&", left, right) + super(:"&&", left, right) end end