activerecord-hackery/squeel — pull request #319 by bigxiang (2014-07-16 07:57:51+00:00)
Title: Enable using Arel nodes in Squeel with "|" operator.

Fixes #314

Examples:

User.where {
(id.in([1,2,3]) | User.arel_table[:id].eq(1)) &
((id == 1) | User.arel_table[:id].not_eq(nil)) }