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