OpenSourcePortfolio
June 29, 2021

Open-sourcing quiet_assets gem to turn off the Rails asset pipeline log

Every web developer has run into this at some point. You’re working on a site or an app, and you need to watch the logs, but all you can see are the requests for the static assets — images, stylesheets, fonts, and so on — making it impossible to see the log entries you care about.

We ran into this too, back in 2012. We were building apps on Rails, using the Asset Pipeline, and whenever we wanted to look at the logs generated by our controllers, they’d be swamped with requests for the assets on each of the pages. So, we assembled the quiet_assets gem.