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!

Drag and drop reordering in Rails: acts_as_list, Stimulus, and the parts that break

Drag and drop sorting in Rails takes an hour with acts_as_list, SortableJS and Stimulus. Here is that hour, plus the seven things that break once people use it, and how we handle each one in the Avo app that orders our own pricing page.

Read the full article on: https://avohq.io/blog/rails-drag-and-drop-reordering

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