June 17, 2025 In modern software engineering, APIs (Application Programming Interfaces) serve as essential components for scalable, modular applications. A well-structured API facilitates communication between systems, enhances developer experience, and supports long-term maintainability. This article explores widely accepted API conventions and illustrates how to implement them in Ruby on Rails, with a particular focus on … Continue reading π Designing RESTful APIs with Ruby on Rails: Conventions and Practical Implementation
Category: Weelkly Article
This section includes the best article of the week.
Understanding config/database.yml in Ruby on Rails
Understanding config/database.yml in Ruby on Rails June 11, 2025 The config/database.yml file is a core part of any Ruby on Rails application. It defines how Rails connects to the database in various environments (development, test, production), and it's often the first touchpoint when configuring an application's data layer. Let's explore how this configuration file works, … Continue reading Understanding config/database.yml in 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
π¨ Alert: ZJIT Merge β What Ruby | Rails Developers Should Know π¨
June 2, 2025 The Ruby community has reached a significant milestone with the integration of ZJIT into Ruby core. This next-generation Just-In-Time compiler promises to reshape how we think about Ruby performance in production environments. What Makes ZJIT Different? ZJIT represents a fundamental shift in Ruby's approach to runtime optimization. Unlike previous JIT implementations, ZJIT … Continue reading π¨ Alert: ZJIT Merge β What Ruby | Rails Developers Should Know π¨
π Monkey Patching in Ruby: What It Is and Why You Should Be Careful
May 28, 2025 Monkey patching is a powerful and controversial technique in Ruby. It involves reopening existing classes and modifying or adding methods directly. Letβs dive into what it is, why it can be problematic, and some better ways to achieve similar goals. What is Monkey Patching? In Ruby, you can add or change the … Continue reading π Monkey Patching in Ruby: What It Is and Why You Should Be Careful
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
β Building Clean and Reusable UI with ViewComponent in Rails
May 20, 2025 As Rails applications grow in size and complexity, maintaining views can become challenging. Traditional partials and helpers often lead to scattered logic, reduced testability, and hard-to-maintain code. This is where ViewComponentβa gem developed by GitHubβcomes in to bring structure and object-oriented design to your views. π Need help with your Ruby on … Continue reading β Building Clean and Reusable UI with ViewComponent in Rails
πΈ Building a Multi-Tenant Rails App for Music Stores Using Apartment
May 14, 2025 A few months ago, I had to build a SaaS platform for music instrument stores. Each store needed to manage its own products, customers, and sales, but everything had to run under one codebase. I ended up going with the apartment gem to handle multi-tenancy β specifically, schema-based separation using PostgreSQL. It … Continue reading πΈ Building a Multi-Tenant Rails App for Music Stores Using Apartment
π Free SSL Certificates for Your Ruby on Rails App Using Let’s Encrypt
May 9, 2025 Security is no longer optional β every modern web app must support HTTPS. Thankfully, Let's Encrypt provides free SSL certificates, and with a bit of Ruby magic, you can integrate them directly into your Rails application. Recently, I worked on automating this setup and even contributed a pull request to simplify the … Continue reading π Free SSL Certificates for Your Ruby on Rails App Using Let’s Encrypt
π Connecting Ruby on Rails and React: Building a Simple User List API
May 5, 2025 In my recent project, I built a basic full-stack integration using Ruby on Rails as an API backend and React for the frontend, both running in Docker containers. The goal was simple: list users fetched from a Rails API into a React component. What surprised me the most? It turned out to … Continue reading π Connecting Ruby on Rails and React: Building a Simple User List API









