Ruby 3 method_missing and respond_to_missing? — Ruby Metaprogramming That's Actually Useful Metaprogramming has a reputation for being either magical or dangerous, depending on who you ask. Both reactions are earned. Ruby’s method_missing hook lets you intercept calls to methods that don’t exist and handle
Rails Service Objects in Rails — Keeping Controllers Thin Without Losing Your Mind Fat models, skinny controllers was the mantra for years. Then models got fat and we realized that was wrong too. Business logic crammed into ActiveRecord models means models responsible for database persistence, validations,
Developer tips Why Every Developer Should Have a Personal Blog (And How to Actually Start) The number of developers who should have a personal blog and don’t is staggering. Not because they have nothing worth saying — most of them have been solving interesting problems for years —
Ruby 3 tap, then, and yield_self — Ruby's Method Chaining Toolkit Ruby has three methods that look similar on the surface but solve distinct problems in method chains: tap, then (aliased as yield_self), and itself. Once you understand what each one is actually for,
Rails Turbo Frames — Partial Page Updates in Rails Without Writing JavaScript Turbo Streams handle real-time updates pushed from the server. Turbo Frames handle a different problem: replacing sections of a page in response to user interaction — clicking a link, submitting a form —
Developer tips Code Review Etiquette — How to Give and Receive Feedback That Actually Helps Code review is one of the most consequential daily interactions in software development, and it’s rarely taught explicitly. Most developers learn by osmosis — they absorb the norms of whatever team they first
Ruby 3 Enumerable#lazy — Processing Large Collections Without Loading Them All Ruby’s Enumerable is one of the language’s best features — map, select, reject, reduce, and dozens of other methods that make working with collections feel natural. But every one of those methods is
Rails Rails Credentials — Managing Secrets Without Leaking Them Every Rails app has secrets — API keys, database passwords, third-party service tokens. The bad old pattern was storing these in environment variables set manually on each server, or worse, hardcoded in config
Developer tips LinkedIn for Developers — Building a Profile That Works Without Feeling Fake Most developers have a complicated relationship with LinkedIn. They filled out a profile years ago, accepted a few connection requests, and now get occasional recruiter messages for jobs they’re not interested in while