Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
medvedev84 opened this issue Jun 26, 2012 · 1 comment
Open

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

medvedev84 opened this issue Jun 26, 2012 · 1 comment

Comments

@medvedev84
Copy link

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?

@chrise86
Copy link

I've created a fork using Kaminari here https://github.com/chrise86/admin_data - it seems to be working ok so far...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants