It would be great if we could use Turbolinks.visit for auto_reload. Here's some changes to that effect (they are built on top of my changes to pick the kaminari page method). Again, no tests, because I wasn't sure what's going on with the separate test repo (seems like it would be hard to keep things in sync).
I put the visit method in the grid processor and made it public, which doesn't seem idle but it was the DRYest option. Seems like it might be better for the clause that uses it in wice_grid_saved_queries_init.js.coffee, to just be moved to the grid processor and then visit could be a private method.
It would be great if we could use
Turbolinks.visit
for auto_reload. Here's some changes to that effect (they are built on top of my changes to pick the kaminari page method). Again, no tests, because I wasn't sure what's going on with the separate test repo (seems like it would be hard to keep things in sync).I put the visit method in the grid processor and made it public, which doesn't seem idle but it was the DRYest option. Seems like it might be better for the clause that uses it in
wice_grid_saved_queries_init.js.coffee
, to just be moved to the grid processor and then visit could be a private method.