I was using will_paginate to paginate my reports, however, I tried to add ActiveAdmin and I get errors. So I did some research and realized that AA uses kaminari, so I swapped from will_paginate to kaminari, but I get this error undefined methodcurrent_page’ for #because of this line of code<%= paginate @reports %>`. Everything, is there a special way to install kaminari? Anyone else have this problem?
I was using will_paginate to paginate my reports, however, I tried to add ActiveAdmin
Share
Seems that you are using the same variable name and 2 or more actions. Try to use a different variable name.
Try simple changing your variables. It should work!