TDD is a Luxury: Pragmatic Testing for the Solo Developer
The Dogma vs. The Deadline If you spend any time in the Rails community, you’ve heard the gospel: Test-Driven Development (TDD) is the only way to write prof...
The Dogma vs. The Deadline If you spend any time in the Rails community, you’ve heard the gospel: Test-Driven Development (TDD) is the only way to write prof...
Ruby has a standard library for making web requests called Net::HTTP. It is famously terrible.
The “I’ll Remember This” Lie We tell ourselves the same lie every day. “I don’t need to write down why I used this specific regex. It’s obvious. I built it. ...
The Graveyard of Perfect Apps We all have a ~/projects folder filled with half-finished dreams. Usually, the code isn’t broken. The idea isn’t bad. The proje...
It is wild how fast things change. Just a few years ago, we were amazed that GitHub Copilot could autocomplete a def index method in our controller.
We type gem install rails or bundle install every day. Text scrolls down the screen, and suddenly we can use the library.
If you are coming from JavaScript (npm/yarn) or Python (pip/virtualenv), the Ruby way of doing things can feel slightly different.
The “Partial” Problem We love Rails. We love ERB. But let’s be honest: app/views is usually the messiest part of any Rails codebase. .
Using a model class (even a simple PORO in app/models) for features has several advantages in Rails. This is why developers often prefer “a model class” over...
Here is a cheat sheet for a JavaScript developer diving into TypeScript (TS) for the first time.