3 Action Mailer Features I Didn't Know Existed
A few weeks ago I needed to check something in the Action Mailer docs, just a quick lookup. I ended up spending much more time there than expected and…
Latest Testing & QA news from Tech News
A few weeks ago I needed to check something in the Action Mailer docs, just a quick lookup. I ended up spending much more time there than expected and…
Four ways to orchestrate business logic in Ruby. One map to find yours. You're building something that involves multiple steps. Charge a card, send an…
1. Introduction Hello from Japan! 🇯🇵 I am an active truck driver in Japan self-studying Python, leveraging my logistics domain knowledge to become a W…
When I published a little gem for conditional CSS classes two years ago, the first comment was Adrien Poly asking the obvious thing: "What is the main…
You don't need a gem to build a facade. This is a perfectly good one: class App def self . config = Rails . configuration def self . redis = REDIS_POO…
You want to add a new resource to your Rails app. You know the drill — rails generate , tweak the migration, add validations, write the controller act…
Pagination is a key component on web-applications that let users navigate through pages making easy to read/find records. Also, pagination is a great …
"This page feels slow" is a vague bug report. Before changing any code, it helps to have a fixed way to locate where the time goes. A Rails request pa…
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…