RubyFlow The Ruby and Rails community linklog

Sorting and Reordering Has Many Through Associations with the ActsAsList Gem

There are plenty of reasons users will want to sort and reorder lists, but implementing such a feature when using the has_many :through association isn’t so obvious. In this post I’ll show you how this is possible using the ActsAsList gem, and along the way show you how to load seed data, create a has_many :through relation, and use the great table_print gem. Read the post.

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