acts_as_list icon indicating copy to clipboard operation
acts_as_list copied to clipboard

Usage with abstract classes

Open bright4 opened this issue 15 years ago • 0 comments

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
    ...

bright4 avatar Jan 04 '10 14:01 bright4