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 Architecture 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: …
I was importing a JSON file and it blew up. Not a subtle bug — the parser refused the whole thing. The cause was a single extra comma. After deleting …
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, …
Anyone who works with Ruby on Rails knows that, despite the framework being incredible for productivity, there are some classic workflow deficiencies …
Ruby Reactor 0.4.0 introduces interrupts — the first native saga pause/resume mechanism in the Ruby ecosystem. You've built a checkout flow. The user …
In modern web applications, keeping the Request-Response cycle fast is crucial for user experience. If a user registers on your Rails 8 app and you tr…
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…
I am developing a boilerplate called SuperRails. Super Rails | Rails Boilerplate for Solopreneurs A production-ready Rails boilerplate with Devise, Av…
Вечный спор в среде 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 …
I always liked tracking my income and expenses. There was an app called Spendee that I used a lot. I liked it. But it felt too complicated for me, so …
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…
I've been working on RapidForge a self hosted platform that turns scripts into webhooks, pages and scheduled jobs. RapidForge itself ships as a single…
Ruby has had a concurrency story for years. For most of that time, the story was "threads exist but the GIL means they don't give you parallelism for …
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…
The first morning of Blue Ridge Ruby , John Athayde stood at the front of the YMI Cultural Center and showed us pictures of trees. Forests. His own la…