RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Stimulus.js Tutorial: Interactive Deletes with Rails UJS

By wrapping the deletable element in a controller and hooking into the Rails-UJS callbacks, you can make your page feel fast, even while the network request and response occur in the background. This tutorial is an attempt to make Rails’ remote deletion mechanism, which uses UJS, feel more immediate. https://johnbeatty.co/2019/02/27/stimulus-js-tutorial-interactive-deletes-with-rails-ujs/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in