Thanks to visit codestin.com
Credit goes to snippetsofcode.substack.com
Snippets of Code
Subscribe
Sign in
Home
Notes
Archive
About
Ruby Struct: How I Stopped Fighting Raw Data Structures
Stop passing raw arrays around your Ruby code. Use Struct.
Sep 4
•
Snippets Press
Codestin Search App
1
Codestin Search App
Codestin Search App
1
How a Duplicate Migration Nearly Broke Our Deployment
I was staring at a failed deployment at 11 PM, wondering how a simple migration could take down the entire pipeline.
Sep 11
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
1
FREE Rails Code Quality Assessment
Identify What's Killing Your Development Velocity
Aug 19
•
Snippets Press
Codestin Search App
2
Codestin Search App
Codestin Search App
2
Why Your ActiveRecord Models Are Too Smart (And How I Fixed Mine)
Three days. That’s how long I spent hunting down a bug in what should have been a simple credit calculation.
Nov 13
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
1
What If Learning TypeScript as a Ruby Developer Wasn't Starting Over?
I’ve been thinking about this assumption Ruby developers have
Nov 6
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
1
Latest
Top
When Reading and Writing Should Break Up
How separating queries from commands saved me from ActiveRecord hell.
Oct 30
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
How One Query Nearly Killed Our Database
The performance optimization that went from 15 seconds to 29 milliseconds—and what I learned about scaling assumptions.
Oct 23
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
How I Stopped Testing Everything Wrong by Understanding Message Types
My team was struggling with inconsistent tests that seemed to test too much or too little, but we couldn’t figure out why.
Sep 21
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
1
Outside-In Rails Testing: Why I Start with the Consumer, Not the Code
Testing Rails endpoints isn't just about making sure things work—it's about designing clean, maintainable systems.
Aug 24
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
Breaking Free from Rails’ Fat Model Prison
A Rails Refactoring Journey
Aug 1
•
Snippets Press
Codestin Search App
1
Codestin Search App
Codestin Search App
2
The Day I Discovered Why My Code Was Talking to Strangers
You know that moment when you realize your business logic is having intimate conversations with your database?
Jul 24
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
1
Clean Architecture in Ruby
How Use Case Objects Transformed My Messy Controllers
Jul 16
•
Snippets Press
Codestin Search App
Codestin Search App
Codestin Search App
See all
Snippets of Code
A "programming language" learning journal
Subscribe
Recommendations
Snippets of Text
Snippets Press
books
16 Ways to Level-Up Your Codebase's Quality
Snippets of Code
Subscribe
About
Archive
Recommendations
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts