diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/infix_operation.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/arel/nodes/infix_operation.rb b/lib/arel/nodes/infix_operation.rb index 3911a1e05e..a3f04da6fa 100644 --- a/lib/arel/nodes/infix_operation.rb +++ b/lib/arel/nodes/infix_operation.rb @@ -40,5 +40,10 @@ module Arel end end + class Concat < InfixOperation + def initialize left, right + super('||', left, right) + end + end end -end
\ No newline at end of file +end |