Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully removing ActiveStorage to fix #569 #573

Merged
merged 3 commits into from May 14, 2024

Conversation

abeger
Copy link
Contributor

@abeger abeger commented May 8, 2024

Fixing the RailsAdmin paths (#569).

RailsAdmin was trying to load ActiveStorage models because, even though it wasn't configured, Rails was still loading ActiveStorage's classes. The answer is basically to remove ActiveStorage completely.

Had to replace require "rails/all" with requiring the individual railties, so I could remove ActiveStorage entirely and prevent RailsAdmin from detecting it.

Also dropped the three unused ActiveStorage tables.

@abeger abeger marked this pull request as draft May 8, 2024 17:27
@abeger abeger changed the title Removing ActiveStorage inclusion to fix #569 Fully removing ActiveStorage to fix #569 May 8, 2024
@abeger abeger marked this pull request as ready for review May 8, 2024 17:37
@nodunayo nodunayo merged commit e8ad68a into nodunayo:master May 14, 2024
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants