julienbourdeau / debugbar

Powerful devtools for Ruby on Rails. Inspired by the Laravel Debugbar.
https://debugbar.dev
MIT License
487 stars 8 forks source link

Add support for Propshaft #18

Closed mmx900 closed 9 months ago

mmx900 commented 9 months ago

Hello. I added support for Rails 7 apps using Propshaft instead of Sprokets, fixing NameError: uninitialized constant Debugbar::Engine::Sprockets. Thanks for this project.

julienbourdeau commented 9 months ago

Thank you! I can't believe I didn't see this one coming.

julienbourdeau commented 9 months ago

Thank you @mmx900 for your contribution. In the end, I removed reference to Sprocket and Propshaft and inserted the second middleware right after the first one: https://github.com/julienbourdeau/debugbar/commit/e3f8818abba8d0da67eeedbdf5ad265e6233842c