uninitialized constant ActiveStorage::AttachmentDashboard administrate gem
I added the administrate gem to a project I'm working on but I get this error: uninitialized constant ActiveStorage::AttachmentDashboard. I then tried to add the gem from dreamersoul (https://github.com/Dreamersoul/administrate-field-active_storage) but it did not solve my issue. I have images being saved with cloudinary if that makes any difference. Does someone have an idea how I can solve this?
Yes, probably there is something like this:
logo_attachment: Field::HasOne,
logo_blob: Field::HasOne,
You have to make it an Field::ActiveStorage
like this:
logo: Field::ActiveStorage,
Go through all files, search for _blob
and fix it.