Please confirm you are human
This browser or connection looks automated. Press and continuously hold the control for 3 seconds to enable Google-hosted web results and, when separately allowed, AI-assisted answers.
A successful check enables 100 search requests. Interactive access does not authorize scraping, systematic collection, or reuse of search output.
News
Adding One Line to Our Database Took a 30-Second Query Down to 12 Milliseconds.
14+ hour, 33+ min ago (936+ words) Here Is the Missing Database Index That Almost Everyone Forgets Until Production Slows to a Crawl. The query was fine …...
I Could Hack My Own Rails App With One Hidden Input
19+ hour, 49+ min ago (688+ words) Then I read two tutorials about locking down a different app, and instead of just following along, I ran the same audit on my own code. To my surprise, I found four holes: RepBoard has freelancers, who get a public…...
How to Fix Slow MySQL Queries (What Actually Works) - TheZeroNet | Celebrity. Technology. Culture. Decoded.
1+ day, 13+ hour ago (1498+ words) A three-second page load doesn’t come from nowhere. Most of the time it comes from one query buried in a controller or a cron job, quietly scanning a few million rows it didn’t need to touch. Figuring out how to…...
Gem Programming: Stop Reusing Code. Start Reusing Decisions.
1+ day, 11+ hour ago (1246+ words) 💎 Gem Programming: Mine the Decisions, Regenerate the Code Gem Programming is a way to extract proven engineering decisions from existing projects, store them as reusable “Gems,” and use AI to …...
Rails Routing & APIs: What Actually Happens Between the URL and Your Controller
1+ day, 23+ hour ago (1376+ words) When I started studying APIs more seriously, I realized there was a problem with the way I was learning. I knew how to create a Rails API. I knew how to write: I knew what GET, POST, PATCH and DELETE…...
Performance Gains After a Rails Upgrade from 7 to 8
2+ day, 6+ hour ago (369+ words) Between deprecation warnings, gem compatibility checks, and the inevitable late-night debugging session, the process can feel like a lot of effort for an uncertain payoff. Having recently taken a mid-sized Rails application from version 7 to version 8, I wanted to share…...
Fixing "g++ Not Found" When Debugging Rails in RubyMine on Fedora
2+ day, 14+ hour ago (352+ words) TL;DR: If clicking "Debug" in RubyMine on Fedora fails to install debase because of a missing g++ compiler, the standard @development-tools group might not be enough. Run sudo dnf install gcc-c++ make redhat-rpm-config to get the explicit C++ compiler…...
Built a Blog App with Rails & PostgreSQL – Looking for Code Review!
4+ day, 2+ hour ago (25+ words) Hey DEV community! 👋 I've been working on a Blog Application built with Ruby on Rails to practice... Tagged with ruby, rails, fullstack, developer....
Ruby 4.0 Marshal.load RCE Gadget Chain Exposes Critical Deserialization Risk
4+ day, 9+ hour ago (583+ words) A newly disclosed universal deserialization gadget chain shows how a single unsafe Marshal.load operation can reportedly produce remote command execution in Ruby 4.0.6, underscoring the persistent danger of exposing Ruby’s native serialization mechanism to attacker-controlled data. According to research published…...
Work-in-progress updates on my new book, Testing Rails from Scratch
5+ day, 17+ hour ago (23+ words) Hello! It has been a couple of months since I announced my latest project, Testing Rails from... Tagged with rails, tdd, minitest, ruby....