activerecord-filter
activerecord-filter copied to clipboard
Filter by association count
If there was a way to do this without a counter cache column, that would be ideal. For example, how to query orders by how many have no items, 1 item, or more than 1 item.