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:
=

installieren:
=

Versionen:

  1. 0.2.0 October 14, 2025 (11 KB)
  2. 0.1.1 October 10, 2025 (10,5 KB)
Zeige alle Versionen (3 total)

Runtime Abhängigkeiten (1):

activerecord >= 6.0, < 8.0

Development Abhängigkeiten (2):

rake ~> 13.0
rspec ~> 3.0

Besitzer:

Pushed by:

Autoren:

  • Hernán d'Amico

SHA 256-Prüfsumme:

=

Downloads insgesamt 234

Für diese Version 107

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: >= 2.7.0

Links: