method
not_in
v6.0.0 -
Show latest stable
- Class:
Arel::Predications
not_in(other)public
No documentation available.
# File activerecord/lib/arel/predications.rb, line 109
def not_in(other)
case other
when Arel::SelectManager
Arel::Nodes::NotIn.new(self, other.ast)
when Range
if $VERBOSE
warn Passing a range to `#not_in` is deprecated. Call `#not_between`, instead.
end
not_between(other)
when Enumerable
Nodes::NotIn.new self, quoted_array(other)
else
Nodes::NotIn.new self, quoted_node(other)
end
end