How do I get Rails Ajax to work using ujs
Hello,
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.
Hello,
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.
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.