Building Modular Rails Applications: A Deep Dive into Rails Engines
I’ve been building Rails applications for the last 10 years on a daily base and almost all of them use active storage now. Users are uploading files and then the questions start rolling in from the team and they are always the same: “How much storage are we actually using?” “Can we see which files aren’t attached to anything anymore?” “What types of files are users uploading the most?” “Is there a way to browse through all our stored files?” I usually open the Rails console, write a few querie