Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Usage with abstract classes #2

@bright4

Description

@bright4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions