The webhook inbox pattern: stop writing this controller by hand
Every Rails app that takes Stripe webhooks has some version of this controller: def create payload = request . body . read sig_header = request . env …
Latest Testing & QA news from Tech News
Every Rails app that takes Stripe webhooks has some version of this controller: def create payload = request . body . read sig_header = request . env …
If you've ever investigated a slow Rails endpoint, chances are you've encountered one of the most common performance problems in the Rails ecosystem: …
Every blog post, product page, and profile in a Rails app deserves its own Open Graph image, the picture that shows up when someone shares the link on…
Originally published on Hashnode: https://railswithyashika.hashnode.dev/rails-performance-n-plus-one-queries When working with associations in Rails, …
I have a TRMNL on my desk. If you haven't seen one, it's a little e-ink display from trmnl.com that shows you whatever you tell it to: your calendar, …
Overview Discourse turned out to be a good pressure repo for a narrow but important reason: the difference between bundle existing and the repo's real…
Anyone who works with Ruby on Rails knows that, despite the framework being incredible for productivity, there are some classic workflow deficiencies …
The Rails maintenance policy is lean by design: only the most recent minor version of the most recent two major versions receives security patches . E…
SOLID Principles in Ruby on Rails SOLID is not a Rails or Ruby concept. It's a set of five object-oriented design principles that apply to any languag…
Thoughts on Codingame 2026 Spring challenge (Trolls in woods) I liked the challenge a lot, the most enjoyable experience so far! I even reached legend…
Вечный спор в среде MVC-фреймворков - что лучше? Толстые модели и тонкие контроллеры или наоборот? Классический подход Rails — “Fat Model, Skinny Cont…
Nearly every project I've worked on has, at some point, had to answer the question of inlining SVGs into HTML. I've been refining my approach to this …
Hey folks 👋 Welcome back. In Part 1 we walked through the 11 attack vectors that shape every decision in this series. If you skipped it, please go rea…
If you've reached for acts_as_tenant or apartment without really understanding what's happening underneath, this tutorial is the correction. We're bui…
👋 Introduction When I was building a gym management system for a real gym in New Delhi, one of the most interesting challenges was connecting a physic…