We've moved discussions to Discord

Administrate/Kaminari Pagination "Unpermitted parameter: :page" error

I noticed today that the pagination in my admin section is no longer working and the logs show a "Unpermitted parameter: :page" error. Upon inspection of the url being constructed it has a "page" parameter but it appears the code is expecting a "_page" parameter. 

Is this a known bug? I'm about a month or two behind the latest commits so perhaps its been fixed?

Happy to dig in more and try to resolve as well, just wanted to ask before I take the time to troubleshoot and/or get my repo up to date with jumpstart master.

Thanks!
Chris Oliver
Just checked and I'm seeing administrate use _page properly (without any unpermitted parameter errors). I guess that is fixed then?

Administrate has been... not my favorite so I'm hoping we can drop it in the future.
Thanks for the reply Chris. I haven't done any further investigation, but I did notice shortly after posting here that the issue appears contained to only 1 of my admin pages. I have yet to pinpoint what the actual difference is compared to pages with pagination that work as expected, but I'd say this is likely isolated to my setup.

It would be great to see an alternative to Administrate incorporated into Jumpstart, so looking forward to what you may do there in the future.
Mac Connolly
Hi Chris and Kyle - I am noticing this now too after updating from 0.14 to 0.15. I have the same problem mentioned by Kyle where my logs show a "Unpermitted parameter: :page" error. 

Did you ever pinpoint the cause (the difference between the pages where it worked and those that did not) or find a solution? 
Notifications
You’re not receiving notifications from this thread.