method
grouping_any
rails latest stable - Class:
Arel::Predications
grouping_any(method_id, others, *extras)private
No documentation available.
# File activerecord/lib/arel/predications.rb, line 232
def grouping_any(method_id, others, *extras)
nodes = others.map { |expr| send(method_id, expr, *extras) }
Nodes::Grouping.new nodes.inject { |memo, node|
Nodes::Or.new(memo, node)
}
end