StrictPagination enforces type-safe pagination parameters and validates queries before execution, preventing unsafe JOINs (has_many, unsafe has_one) that multiply rows and cause inconsistent pagination with LIMIT/OFFSET + DISTINCT. Provides helpers for ActiveRecord and API responses.

Required Ruby Version

>= 3.1.0

Authors

Hernán d'Amico

Versions

  1. 0.2.0
    1. source

      1. 0.2.0 source October 14, 2025 (11 KB)
  2. 0.1.1
    1. source

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

Pushed by

SHA 256 checksum