26 April 2023
Hacking Rails Implicit Rendering for View Components & Fun
Understanding how Rails handles requests from routes.rb to calling the action method on a controller makes it possible to build Rails plugins ranging from Hanami-like action classes to component-driven Rails development.
26 April 2023
Ruby's Switch Statement is More Flexible Than You Thought
Ruby's switch statement is very versatile and flexible, especially due to the dynamic nature of Ruby. In this post, we'll see how you can use it in various ways. We'll also learn why it works the way it works.
26 April 2023
Write a Ruby C Extension to Use CLIPS from Ruby: Part 1
In this article, we're going to look at how to write a Ruby C extension that lets the user interact with CLIPS, a programming language used to create Rules Engines and Expert Systems.
25 April 2023
Working with PDFs in Ruby
Working with invoices, contracts, or just reading your favorite mystery thriller—whatever the case, PDF files are everywhere. Learn how to work with PDFs in Ruby.
23 April 2023
Create a Ruby gem from scratch
In this article, we'll show you how to create a gem that provides comments for any model in a Rails project.
23 April 2023
How to use Sidekiq in Rails 7: Background Jobs
In this blog, we'll explore how to use background jobs with Sidekiq in Rails 7 to handle long-running tasks.
21 April 2023
SOLID: Open-closed principle in Ruby
In this article, we will explore the Open/Closed Principle and demonstrate its application in Ruby.
19 April 2023
Adding table names to error for duplicate column names
Table name is shown in the error when duplicate columns for the same table is entered while creating it.
19 April 2023
How to Load Code in Ruby
In this post, we will explore three different options for loading code: using load, require, and autoload. We will also look into the Ruby gem Zeitwerk.
18 April 2023
Mastering Time Complexity in Ruby: a Comprehensive Guide with Code Examples and Tests
In this article, we will explore time complexity and its relationship to the Ruby programming language.
18 April 2023
Elegant Memoization with Ruby’s .tap Method
There are a few different ways to memoize complicated chunks of code in Ruby. Here's why .tap is my personal favorite.
17 April 2023
How to Access Hash Values with Methods Using OrderedOptions
This post shows how to access Hash Values with methods using OrderedOptions
17 April 2023
Delaying Kafka Messages Processing with Karafka: a Deep Dive into Delayed Topics
In this article, we will take a deep dive into the Karafka's Delayed Topics feature and explore how it can be used to delay message processing in the Kafka-based applications.
17 April 2023
Kaminari Gem
Kaminari is a pagination gem for Ruby on Rails that provides a simple and flexible way to paginate records in your application. With Kaminari, you can easily add pagination to your views and controllers, and customize the pagination options to fit your specific needs.
14 April 2023
Why i Stopped Using Sorbet in All My Ruby Projects
In this article, the author explains why he decided to stop using Sorbet in all his projects.
13 April 2023
Audit Logging in Ruby and Rails
In this post, we'll first dive into what auditing entails and what to consider when audit logging. We'll then explore some options for implementing audit logs, including PaperTrail, Audited, AuditLog, AppSignal, and a custom implementation.
12 April 2023
How to use Flipper for feature flags in Rails
Feature flags are used all across the tech industry to test code at scale. This article explores how to integrate them into your Ruby on Rails application using the Flipper gem.
11 April 2023
How to implement Pub/Sub pattern in Ruby on Rails?
In this article we'll provide a comprehensive guide to understanding and implementing the Pub/Sub pattern.
11 April 2023
Dealing with common and uncommon problems with parsing CSV with Ruby
This article is a first-aid kit that you can use when you will spot any problems with parsing CSV.
10 April 2023
The Definitive Guide to Rack for Rails Developers
This article explains pretty much everything you need to know about Rack as a Rails developer.
10 April 2023
Best Ruby HTTP Clients for 2023
In this article, we’ll take a look at some of the best Ruby HTTP clients available and compare their features, performance, and ease of use.
7 April 2023
Feature flags in Rails: How to roll out and manage your features like a pro
In this blog post, we will look at how to use the Flipper gem to implement a basic feature flagging system in a Rails application.
6 April 2023
Migration Magic ✨, Handling Not-Null Constraints in Production with Ruby on Rails
Discover How to Handle Migrations in Production with Confidence.
6 April 2023
PostgreSQL + JSONB + Ruby
In this article, we will discuss how JSONB works in Postgres and how it can be used in conjunction with Rails.