Skip to content

Is it possible to use admin_data with Kaminari paging? #92

@medvedev84

Description

@medvedev84

Hi, guys!
My app stored at Heroku free account, so I don't have access to my DB via browser, I can only download it to my local computer. Since this is very uncomfortable I want to use 'active_admin', but my app uses 'kaminari' paging and 'admin_data' depends on 'will_paginate', so when I run my app with 'admin_data' I get error:
undefined local variable or method `per' for #ActiveRecord::Relation:0x69e93e8

Is it possible to use 'admin_data' with 'kaminari' paging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions