Alexander Kostadinov


10 Experience
0 Lessons Completed
0 Questions Solved


Posted in Do I need rails-ujs and jquery_ujs?

Hi, I am using the smart_listing gem and without requiring jquery_ujs I am getting some js errors. Probably smart_listing can be fixed. What i am trying to say is that there might be some compatibility issues with existing libraries.

P.S. so far I've removed rails_ujs and I'm only using jquery_ujs. So far no compat issues I see.

Update: actually if I enable both of them, then requests are processed twice instead of once. That means click form submit once but it is submitted twice. So one has to enable only one - rails-ujs or jquery_ujs.


logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.