The .to_i that ate the 0.5
A statutory payroll rate rose from 3% to 3.5%, and every calculator kept giving the old answer. One silent whole-number assumption, written into the loader, the templates and the browser code, explains why.
Things we build. Things we break.
And everything we learn along the way.
A statutory payroll rate rose from 3% to 3.5%, and every calculator kept giving the old answer. One silent whole-number assumption, written into the loader, the templates and the browser code, explains why.
A statutory payroll rate rose from 3% to 3.5%, and every calculator kept giving the old answer. One silent whole-number assumption, written into the loader, the templates and the browser code, explains why.
One plausible wrong config key left every Chrome flag I set unread for nearly six months, hidden by two lines in an old deploy script. When the deploy changed, Chrome died in a tenth of a second in my rebuil...
When enhancement work spans multiple applications and rendering services, how do you systematically verify that everything was implemented correctly? This article describes a methodology where parallel resea...
Discover an elegant pattern for Rails controller validation logic using `performed?` checks after each validation method. This approach keeps validation logic focused and testable while maintaining clear con...