50 Experience
0 Lessons Completed
0 Questions Solved


Posted in How do I get Rails Ajax to work using ujs

I am trying to user ajax on rails using the ujs library.

I am calling the new controller action,with the remote: true property, however the request is being processed as JSON instead of JS.

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.