Support `relation.and` for intersection as Set theory by kamipo · Pull Request #39558 · rails/rails
As described at #39328, relation.merge behaves inspired as Hash-like merge for where clause. In other words, currently there is no official way to intersect the result by both relation conditions (...