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.
Adrian Marin
Author & CEO