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, …
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…
Turbo Frames are a great way to build interactive pages without writing custom JavaScript. But how do you test them properly? You can reach for system…
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…