Just a general collection of gems I’ve known and loved (or want to try out).
- Coditsu will produce a diff between versions of a gem. Great if you want to see what’s changed, or need to do serious auditing of dependencies - run a bundle update, and then hit this for all the changes in Gemfile.lock
- RailsDiff will produce a diff between the output of
rails new, handy for making sure you’re picking up new default configs as you roll the update train.
- Debride finds uncalled methods
- Rcov measures coverage while running tests
- Coverband measures coverage in production
- Bullet detects N+1 queries
- Byebug is my go-to for tracing, to
stepinto function calls, skip to
- Pry is the other really popular one.
- Jard looks interesting, provides a multi-window debugger environment, with a GUI stack trace, local variable dumps, threads, etc.
- Ruby is also getting a native debugger in 3.1 with more interesting breakpoints/callbacks that might prove useful for IDE integration.
All these queues support ActiveJob in Rails