hzamani / active_record-acts_as

Simulate multi-table inheritance for activerecord models
MIT License
252 stars 86 forks source link

uninitialized constant CourseActivity::Actable #93

Open BrunoQuaresma opened 6 years ago

BrunoQuaresma commented 6 years ago

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?

manuelmeurer commented 6 years ago

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