nodunayo / speakerline

Showcasing speakers' proposals and timelines in an effort to demystify the CFP process and help new speakers get started.
http://speakerline.io
MIT License
73 stars 26 forks source link

Fully removing ActiveStorage to fix #569 #573

Closed abeger closed 1 month ago

abeger commented 1 month ago

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.