active_record-acts_as
active_record-acts_as copied to clipboard
uninitialized constant CourseActivity::Actable
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?
I would need more info to help you debug this. Can you upload a stripped-down Rails app to GitHub that shows this bug?