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, 2 insertions, 2 deletions
diff --git a/lib/arel/predications.rb b/lib/arel/predications.rb
index f11f8dc86d..ec779dd40f 100644
--- a/lib/arel/predications.rb
+++ b/lib/arel/predications.rb
@@ -55,7 +55,7 @@ Passing a range to `#in` is deprecated. Call `#between`, instead.
eowarn
end
between(other)
- when Array
+ when Enumerable
Nodes::In.new self, quoted_array(other)
else
Nodes::In.new self, quoted_node(other)
@@ -103,7 +103,7 @@ Passing a range to `#not_in` is deprecated. Call `#not_between`, instead.
eowarn
end
not_between(other)
- when Array
+ when Enumerable
Nodes::NotIn.new self, quoted_array(other)
else
Nodes::NotIn.new self, quoted_node(other)