active_record-acts_as icon indicating copy to clipboard operation
active_record-acts_as copied to clipboard

uninitialized constant CourseActivity::Actable

Open BrunoQuaresma opened this issue 6 years ago • 1 comments

I have a course activity class that is used as actable and I have video activity and code activity that act as a course activity. But when I try to use the video activity as an admin model (from activeadmin) this error is raised.

NameError in Admin::VideoActivities#index
uninitialized constant CourseActivity::Actable

Do you know why?

BrunoQuaresma avatar Feb 13 '18 21:02 BrunoQuaresma

I would need more info to help you debug this. Can you upload a stripped-down Rails app to GitHub that shows this bug?

manuelmeurer avatar Feb 14 '18 20:02 manuelmeurer