The Brutal Truth About Programming Languages in 2026: Which Ones Will Break You and Which Ones Won't
I have spent a good amount of time working at the intersection of technology and digital marketing. As a digital marketing consultant in Kerala, I dea
ruby
dev.to
Jun 22, 2026
How you zip larger files in ruby
Easy way that compress files in ruby is using zip lib.
Zip::File.open('./compress.zip', create: true) do |zip|
zip.get_output_stream("./stuff_to_
ruby
dev.to
Jun 22, 2026
What Claude Thought He Knew About Rails Callbacks (And How Console Testing Proved Him Wrong)
tl;dr - counter_cache: true will run an update_all on all affected records, which bypasses all other callback hooks. So even if you have after_save
ruby
dev.to
Jun 22, 2026
Rails Interview #1: The N+1 Query Problem
You ship a /posts index page. It renders 50 posts, and for each one it shows the author's name with post.author.name. QA says the page is slow, and th
ruby
dev.to
Jun 21, 2026
Blocks, Procs, and the "&" Bridge
&blk in a parameter list turns a block into a Proc; &proc at a call turns a Proc back into a block.
1. A block is syntax, not an object
ruby
dev.to
Jun 20, 2026
TIL: Html + ERB = HERB ❤️
Today I was looking to improve the tooling around ERB templates in our project, get a linter at least.
I started with erb_lint gem, but soon discovere
ruby
dev.to
Jun 19, 2026
Stop Guessing Between .count, .length, and .size in Rails
When investigating a slow Rails endpoint, it's common to start by looking for N+1 queries, missing indexes, or expensive joins. Sometimes, though, the
ruby
dev.to
Jun 18, 2026
Ruby 4.0 Is Here. Why Is AI Still Writing Ruby 3.0?
Ruby 4.0 Is Here. Why Is AI Still Writing Ruby 3.0?
June 17, 2026
Artificial intelligence has become an indispensable tool for Ruby developers.
We
ruby
dev.to
Jun 18, 2026
The Hidden Cost of Missing or Wrong Database Indexes in Rails
Do you think your SQL Query Is Fine?!
Lets today talk about the hidden cost of missing or wrong Database indexes in Rails.
A few years ago, I was
ruby
dev.to
Jun 17, 2026
Ruby Reactor Now Has Middlewares and OpenTelemetry — Here's Why That Matters
You've built a checkout reactor that reserves inventory, charges a card, generates a shipping label, and sends a confirmation email. It runs through S
ruby
dev.to
Jun 17, 2026
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.
ruby
dev.to
Jun 16, 2026
Go for Rubyists: A Practical Guide to Learning Golang
I love Ruby. It is the language that made me happy to write code. But as a Rails developer, I eventually hit a wall. Maybe I needed to process a 2GB C
ruby
dev.to
Jun 16, 2026
I built a Rails 8 + Next.js 16 SaaS boilerplate so you don't have to
Every SaaS project I've started begins the same way: wire up Devise, figure out JWT, build Stripe service objects, set up i18n, configure Docker, writ
ruby
dev.to
Jun 16, 2026
How to safely remove a Rails column: finding every real reference before you delete
Every Rails project has at least one of these. A model with an old column that's probably not used anymore. "Probably" is the scary part. If something
ruby
dev.to
Jun 16, 2026
The Silent Performance Killer in Rails: Understanding and Fixing N+1 Queries
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:
ruby
dev.to
Jun 16, 2026
I Have Written Ruby for Years and Just Discovered Enumerator#feed
I Have Written Ruby for Years and Just Discovered Enumerator#feed
June 15, 2026
Ruby is full of delightful surprises.
Even after years of writing
ruby
dev.to
Jun 16, 2026
Safer Memoization in Ruby
Memoization is one of those techniques most Ruby developers start using almost immediately. It's simple, elegant, and often provides significant perfo
ruby
dev.to
Jun 15, 2026
The Rails Deployment Landscape in 2026
The Rails Deployment Landscape in 2026
June 15, 2026
For years, deploying a Rails application meant choosing between managing your own servers or u
ruby
dev.to
Jun 15, 2026
🇧🇷 Continuando a jornada com RubyUI: apresentando o ruby_ui_converter
Recentemente publiquei uma gem chamada ruby_ui_scaffold, um gerador de scaffolds para Rails pensado para quem quer construir aplicações modernas utili
ruby
dev.to
Jun 14, 2026
🇺🇸 Continuing the RubyUI Journey: Introducing ruby_ui_converter
Recently, I released a gem called ruby_ui_scaffold, a Rails scaffold generator designed for developers who want to build modern applications using Phl
ruby
dev.to
Jun 14, 2026