acts_as_list
acts_as_list copied to clipboard
Usage with abstract classes
When acts_as_list is used on an abstract class, which has multiple subclasses, in some cases the plugin tries to get the order of the items in the abstract class.
This of course fails (the table cannot be found).
My solution was to add a check for this:
def acts_as_list(options = {})
return if abstract_class
...