5 January 2023
Reliving Your Happiest HTTP Interactions with Ruby’s VCR Gem
In this post the author explains how to debug or test a complicated or involved set of remote API operations.
29 December 2022
Performance of Exception Handling in Ruby
In this article, we will explore the performance implications of using exceptions in Ruby and discuss some best practices for minimizing their impact on your application's performance.
23 December 2022
Geocoding with Ruby
In this article, we will explore how to perform geocoding using the Ruby programming language.
22 December 2022
Ruby Split Array
Split is a very common method not only in Ruby, but also in the programming world. Let's see what dos .split means for a Ruby Array.
21 December 2022
A Guide to Memoization in Ruby
In this post, we'll look at the benefits of memoization and when to use it in your Ruby application.
21 December 2022
Rails optimizes ActiveRecord batching for whole table iterations
Response times for batch queries have significantly improved by moving to a range-based iteration strategy.
21 December 2022
What not to forget when implementing a pattern-matching in Ruby for custom objects
The practical article about some considerations for implementing proper pattern-matching for your classes.
21 December 2022
How to Monitor and Fix PostgreSQL Database Locks in Rails
In this blog post, the author will describe how to monitor database locks and propose best practices to prevent them from causing issues.
20 December 2022
Applicative programming in Ruby: railway reimagined
In this post we will see how applicative programming can be used for implementing code in the Railway style using a gem applicative-rb.
20 December 2022
Rails 7.1 supports password challenge via has_secure_password
Rails provides the has_secure_password method, which makes it gloriously easy to implement authentication in our application.
20 December 2022
Metaprogramming with Ruby
In this article, we'll explore the basics of metaprogramming in Ruby and see how it can be used to write concise, expressive code.
20 December 2022
Rails console command made easier
A short article about how to simplify the Rails console command thanks to the aliases file.
20 December 2022
Ruby 3.2 introduces Enumerator::product
Learn how to use the Enumerator::product method.
16 December 2022
The Basics of Receiving Webhooks in Rails
In this post, the author shows the most simple, straightforward way to receive webhooks in a Ruby on Rails application.
15 December 2022
Sort a Ruby array
A short article about how to sort an array in Ruby. It's a classic problem in other languages too, so let's explore the Ruby case.
14 December 2022
How to use Alpine.js with Rails and Turbo
In this tutorial, we'll go over how to use Alpine.js with your Rails app, and how to add Flash messages (auto disappear) and Modal UI elements.
13 December 2022
How to deploy Rails and Sidekiq to Render
This article shows how to deploy a typical Rails application with custom Dockerfile to Render. The author will deploy Rails and Sidekiq processes as well as PostgreSQL and Redis databases.
9 December 2022
A/B Testing in Rails
In this blog, the author explains what he did to make the rails application able to A/B test in any scenario.
9 December 2022
Database Performance Optimization and Scaling in Rails
This post will cover some alternative methods to fine-tune and scale a database under heavy load and improve the performance of your Rails app.
7 December 2022
Ruby News November 2022 Digest
Ruby News November 2022 Digest
5 December 2022
How to deploy multiple Rails apps on a single server with Capistrano
In this post the author explains how to deploy multiple Rails apps on a single server with Capistrano.
1 December 2022
8 Design Principles that every Ruby Developer should know
In this article we'll discuss 8 design principles that every Ruby developer should know.
30 November 2022
Rails serializes store data as a regular hash instead of using HWIA
Serializing store objects with ActiveSupport::HashWithIndifferentAccess is both a wasteful and an insecure option. Instead Rails now encodes store as a regular hash and casts it back to HWIA before accessing.
30 November 2022
Dynamic Page Titles in Ruby on Rails
In this post the author shows how to add dynamic page titles to your Rails web application.