Skip to main content

Posts

Showing posts from May, 2021

The One-Letter Rails Bug That Slipped Past Rubocop, CI, and Code Reviews

We often think production bugs happen because of big oversights or complex logic failures. But sometimes, it’s the smallest things—a single typo—that sneak past every safeguard and cause trouble in live environments. Recently, I had one such experience in a Rails project. It wasn’t a major crash, but it did break a piece of business logic under specific conditions. More importantly, it taught me valuable lessons about code reviews, rubocop, and testing discipline—lessons I’d like to share here. The Safeguards We Already Had Like most teams, we don’t push code directly to production. Instead, we follow a layered safety net: ✅ Pre-commit checks to catch obvious mistakes ✅ RSpec test cases to validate logic ✅ CI pipelines to enforce standards and run checks ✅ Code reviews to ensure human oversight ✅ QA testing before deployment You’d think with all this in place, no typo could possibly slip through. So how did it happen? Where Things Went Wrong: Rubocop and a “Helpfu...

Gmail Settings

What are in the G m a i l settings?                             Many of know-how to send mail but many of us don't know how to configure our inbox and other mail-related option's provided in the Gmail settings. In this post, we are going to know about the basic settings we must know in Gmail.  How to reach Gmail settings?                                 First, open the inbox of your Gmail, then the right side top corner near your profile pic you can see the settings icon and click on it.   In the Quick Settings menu click on the  Sell all settings.                                Let us conf...

Warm Welcome

  Welcome You All... What is tech-savvy?                                      Tech-Savvy means well informed about or proficient in the use of modern technology, especially computers. When it comes under the computer it does not mean only hardware and it also means software like OS, antivirus & programming languages, etc. Why tech-savvy?                                   In the present world, we are all working with modern technology and computers in day-to-day life. So everyone wants to know about the basics of computers and other technologies. That helps us to understand the basic things and solve basic problems on our own. How to become tech-savvy?                        ...