RubyGems Navigation menu

strict_pagination 0.1.1

Adds strict_pagination mode to ActiveRecord::Relation to validate queries before execution, ensuring they don't use JOINs that multiply rows (has_many, unsafe has_one). Helps prevent inconsistent pagination with LIMIT/OFFSET + DISTINCT.

Gemfile:
=

install:
=

Versions:

  1. 0.1.1 October 10, 2025 (10.5 KB)
Show all versions (2 total)

Runtime Dependencies (1):

activerecord >= 6.0, < 8.0

Development Dependencies (2):

rake ~> 13.0
rspec ~> 3.0

Owners:

Pushed by:

Authors:

  • Hernán d'Amico

SHA 256 checksum:

=

Total downloads 123

For this version 100

Version Released:

License:

MIT

Required Ruby Version: >= 2.7.0

Links: