[Content] Pagy documentation or sample implementation using Mongoid

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Community Content
    • None
    • None
    • Ruby Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The pagy pagination gem is quite popular, and calls out Mongoid directly (see https://ddnexus.github.io/pagy/docs/api/backend/).

      Though there are non-AR implementation how-tos (ex: https://github.com/ddnexus/pagy/blob/master/docs/how-to.md#paginate-non-activerecord-collections) and an existing "Extra" (see https://rubygems.org/gems/pagy_mongoid_cursor) for Mongoid, this is something we should investigate/document/promote for greater awareness.

            Assignee:
            Unassigned
            Reporter:
            Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: