Ask A Question


You’re not receiving notifications from this thread.

uninitialized constant ActiveStorage::AttachmentDashboard administrate gem

Alebo asked in Rails

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 ( 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.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 78,890+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.