aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/predications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/predications.rb')
-rw-r--r--lib/arel/predications.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/predications.rb b/lib/arel/predications.rb
index e9078e9c4b..81bf3b4d95 100644
--- a/lib/arel/predications.rb
+++ b/lib/arel/predications.rb
@@ -202,6 +202,10 @@ Passing a range to `#not_in` is deprecated. Call `#not_between`, instead.
Nodes::Case.new(self).when quoted_node(right)
end
+ def concat other
+ Nodes::Concat.new self, other
+ end
+
private
def grouping_any method_id, others, *extras