Closed botandrose closed 9 years ago
@botandrose We want to support Rubinius as well, but the issue is about bundler and rbx versioning, so I'll let it slide for now.
Thank you for the quick response! <3
Thanks for fixing this! Just ran into the same issue.
https://github.com/swanandp/acts_as_list/pull/123 introduced a regression, since
acts_as_list_class
now returns the subclass, not the superclass. My use-case is as follows:The application is an online course, which is composed of videos, quizzes, and exams. acts_as_list keeps these in order. However, after https://github.com/swanandp/acts_as_list/pull/123,
lower_item
will return the next item of the same subclass, skipping over other segments of other subclasses, which is not at all desired.If one desires this behavior, declaring
acts_as_list
on the subclasses separately makes sense. This PR reverts the regression, and includes tests for both use-cases.