RubyGems Navigation menu

n_plus_one_control 0.8.0

RSpec and Minitest matchers to prevent N+1 queries problem. Evaluates code under consideration several times with different scale factors to make sure that the number of DB queries behaves as expected (i.e. O(1) instead of O(N)).

Gemfile:
=

install:
=

Versions:

  1. 0.8.0 January 28, 2026 (13.5 KB)
  2. 0.7.2 August 06, 2024 (13.5 KB)
  3. 0.7.1 February 17, 2023 (13 KB)
  4. 0.7.0 February 17, 2023 (13 KB)
  5. 0.6.2 October 26, 2021 (12.5 KB)
Show all versions (21 total)

Development Dependencies (6):

benchmark >= 0
bundler >= 1.10
factory_bot ~> 6.0
minitest ~> 5.9
rake >= 13.0
rspec ~> 3.5

Owners:

Pushed by:

GitHub

Authors:

  • palkan

SHA 256 checksum:

=

Total downloads 2,825,129

For this version 127

Version Released:

License:

MIT

Required Ruby Version: >= 3.1.0

Links: