Closed tiegz closed 7 months ago
the .or() ActiveRelation method lets us combine two conditions. This is one step towards fixing N+1s while updating project dependencies
.or()
actually, we probably want to avert the "lower()" query if the first query works. I'm going to switch directions toward bulk loading these instead.
the
.or()
ActiveRelation method lets us combine two conditions. This is one step towards fixing N+1s while updating project dependencies