This week in #dev (Jan 5, 2024)

Welcome to another edition of This Week in #dev, a series of posts where we bring some of our most interesting Slack conversations to the public.

Fuzzy Finding Rails Routes

Neil Carvalho mentions fzf, an interactive command-line fuzzy finder that can be used with any list (files, command history, git commits, etc). He mentions using it to fuzzy find Rails routes (instead of using grep).

rails routes | fzf

An Old Gem: How To Speed Up Your Tests

Matheus Richard shares a 10-year-old Upcase thread discussing ways to speed up tests. Even though it’s old, it’s still relevant today! One of the tips is to disable PaperTrail in tests that don’t need it.

# in your test helper
PaperTrail.enabled = false

Thanks

This edition was brought to you by Matheus Richard and Neil Carvalho. Thanks to all contributors! 🎉