palkan/n_plus_one_control
n_plus_one_control, на сайте с 03 мая 2023, 02:44
RSpec and Minitest matchers to prevent the N+1 queries problem.
Unlike other libraries (such as db-query-matchers, rspec-sqlimit, etc), with n_plus_one_control you don't have to specify exact expectations to control your code behaviour (e.g. expect { subject }.to query(2).times).