Skip to content

Usage with api-pagination and pagy #11

@slhck

Description

@slhck

This is more of a question about the usage of this Gem.

I am using api-pagination in combination with pagy to provide a paginated API.
This might be as simple as the example shown here.

Internally api-pagination calls pagy via Pagy.new; here you can also see the offset and limit being applied.

How would I make this work with fast_page?

When I add the method from the README to my controller, it is not being called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions