June 6, 2025 Abstract When testing systems that depend on external services, such as geolocation APIs, simulating HTTP responses becomes essential for building deterministic and isolated test suites. This article explores a disciplined approach to mocking HTTP calls in RSpec using WebMock—without relying on custom helpers or implicit abstractions. Instead, we emphasize clean code principles: … Continue reading Simulating External APIs in RSpec: A Clean Approach Using WebMock
Tag: Ruby on Rails
🧼 Skinny Controllers, Fat Models – A Classic Ruby on Rails Guideline
June 5, 2025 In the world of Ruby on Rails, few principles have stood the test of time like the mantra: “Skinny Controllers, Fat Models.” While it may sound quirky, this simple phrase encapsulates a deep architectural philosophy that encourages maintainability, clarity, and clean code — the Rails way. ✅ What It Really Means The … Continue reading 🧼 Skinny Controllers, Fat Models – A Classic Ruby on Rails Guideline
Automating Document Generation with AI in Ruby on Rails
June 3, 2025 In modern software projects, automating routine tasks is crucial to speed up delivery and reduce human error. One great example is document generation—whether it's product requirement documents (PRDs), proposals, or presentations. Recently, I worked on a system that uses AI to generate structured content from conversations, then outputs documents in multiple formats … Continue reading Automating Document Generation with AI in Ruby on Rails
Building a Microservice Architecture with Ruby: A Practical Guide
June 2, 2025 Introduction Modern applications increasingly adopt a microservice architecture to address scalability and maintainability concerns. This approach breaks down a system into independent, self-contained services, each responsible for a specific domain. Ruby, renowned for its developer-friendly syntax and productivity, provides an excellent foundation for developing microservices, particularly when leveraging the Ruby on Rails … Continue reading Building a Microservice Architecture with Ruby: A Practical Guide
How to Use APIs in Ruby: A Step-by-Step Guide with Faraday, HTTParty, and Net::HTTP
May 26, 2025 If you're a Rubyist like me, you know that making an API call can go from a quick one-liner to a full-blown production-ready beast — and everything in between! Let’s take a journey through the best-to-least optimal approaches for making API calls in Ruby, with a dash of humor to keep us … Continue reading How to Use APIs in Ruby: A Step-by-Step Guide with Faraday, HTTParty, and Net::HTTP
🔍 Debugging in Ruby: irb, pry, byebug, and debug — What You Should Know
May 21, 2025 If you've ever felt stuck trying to figure out why your Ruby code isn't behaving as expected, you're not alone. The good news? Ruby has several powerful tools to help you debug like a pro. Here are 4 tools every Ruby developer should know — whether you're a beginner or a seasoned … Continue reading 🔍 Debugging in Ruby: irb, pry, byebug, and debug — What You Should Know
🔐 Building Token-Based Authentication in a Rails API with JWT
May 19, 2025 A Practical and Maintainable Approach to Securing Your Endpoints by Giménez Silva Germán Alberto Modern APIs require stateless, secure, and scalable authentication mechanisms. For many Rails developers, JWT (JSON Web Tokens) offer the ideal solution: they’re lightweight, portable, and perfectly suited to APIs where session-based auth doesn’t scale. In this article, I’ll … Continue reading 🔐 Building Token-Based Authentication in a Rails API with JWT
Mastering CI Across GitHub, GitLab, Jenkins & CircleCI — Without Losing Your Sanity
May 15, 2025 CI isn’t just a nice-to-have—it’s your early warning system against code chaos. Think of it as the oracular gatekeeper of your project: it may come with some setup costs, but those are nothing compared to the cost of bugs slipping through unnoticed. With the right CI strategy, we don’t just prevent our … Continue reading Mastering CI Across GitHub, GitLab, Jenkins & CircleCI — Without Losing Your Sanity
🔧 Managing Files on AWS S3 with Ruby Shouldn’t Be a Hassle — So I Built S3FileManager
May 13, 2025 As developers, we tend to take small file operations for granted—until they start piling up. Let me paint a picture: You upload a file to an S3 bucket. Then your PM asks: “Can we rename it?” Then a bug pops up because two versions of the file are floating around. Then you … Continue reading 🔧 Managing Files on AWS S3 with Ruby Shouldn’t Be a Hassle — So I Built S3FileManager
Getting Started with Capybara and Selenium for Web Testing
Getting Started with Capybara and Selenium for Web Testing May 12, 2025 In modern web development, automated testing is crucial to ensure application quality and stability. One of the most effective ways to test user interactions in a browser is with Capybara, a Ruby-based framework that provides a high-level API for simulating how users interact … Continue reading Getting Started with Capybara and Selenium for Web Testing









