Weekly bookmarks - Issue #25
@keystonelemur Good list, here are a couple other lesser known "cleaning up your codebase" tips:
- bundle clean
- yarn autoclean
- Search for "find me in" (default Rails view scaffolds)
- Unused routes: https://t.co/ldpcdqYewD
- Flatten old Rails migrations: https://t.co/1tPiVRBFk7
💡Rails tip: view logic can be easily tested in vanilla Rails
1️⃣Create a directory test/views
2️⃣I suggested following the same grouping as in app/views, e.g. app/views/shared➡️test/views/shared
3️⃣Create test classes inheriting from ActionView::TestCase
There are risks though ⬇️ https://t.co/6ml1dc1TfE
reinteractive: How to Redirect a Rails Application to a new Domain Name
If you're not utilizing AI, you're falling behind.
Here are 7 free AI tools that'll save you hours of work:
🪄 CSS Blending Decompilation 🪄
Here is how @linear created a cool animated component with 10 (!) blending functions and just a couple lines of JS.
👨🏻💻Codepen to play: https://t.co/4kfokvlZj0
Enjoy original at https://t.co/Hzt8Jm9CN9
#css #animation #linear https://t.co/eh55nc290v
What tools do you use for building a roadmap? How do you keep it useful (vs. bloated and outdated)? #AMAthoughtbotPM