in my Rails 3.2 application i use wiselinks gem for sorting collection. I have some filter that show part of my collection, example tasks closed or tasks with low priority.
I have double content load with JS (jquery-ujs) and HTML (wiselinks)
Started GET "/tasks?state=closed" for 127.0.0.1 at 2014-07-07 09:23:49 +0700
Processing by TasksController#index as JS
...
Started GET "/tasks?state=closed" for 127.0.0.1 at 2014-07-07 09:23:49 +0700
Processing by TasksController#index as HTML
...
Hi,
in my Rails 3.2 application i use wiselinks gem for sorting collection. I have some filter that show part of my collection, example tasks closed or tasks with low priority.
Part of my application.js:
One of the links in the filter:
In development environment everything works great, but in production i see that wiselinks work, content replaced and then I have page reloading.
If I use links with jquery-ujs, like this:
I have double content load with JS (jquery-ujs) and HTML (wiselinks)
My development.rb:
My production.rb: