Ruby Magic

Ruby Magic is our special email series where we dive deep into all things Ruby.

How to Reduce Memory Bloat in Ruby

By Kumar Harsh on

Memory bloat can be a serious issue in Ruby. This article explores two common causes of memory bloat and how you can overcome them.

read more

Responsible Monkeypatching in Ruby

By Cameron Dutro on

Monkeypatching can be a great way to improve existing code if used right. Let's find out how.

read more

Ruby's Hidden Gems: Bullet

By Fabio Perrella on

Let's dive into Bullet and find out how it can help you identify some database-related problems.

read more

An Introduction to Pattern Matching in Ruby

By Pulkit Goyal on

Find out about pattern matching in Ruby, what it does, and how it can help improve code readability.

read more

General Ruby on Rails Problems and Takeaways

By Nikola Đuza on

In this last part of the Rails Patterns and Anti-patterns series, I'll be going over the most common problems I've encountered while building and shipping Ruby on Rails applications.

read more

Performance, Stress, and Load Tests in Rails

By Paweł Dąbrowski on

Let's jump into theoretical and practical aspects of performance testing in Rails.

read more

Three Ways To Avoid Duplicate Sidekiq Jobs

By Nikola Đuza on

Sidekiq is used to handle background processing. Whatever your background jobs may be, you'll eventually run into duplicate jobs. Let's see how to de-duplicate them.

read more

Linting Ruby Code

By Miguel Palhas on

Let's take a look at what linting is and a few problems that come with it.

read more

Ruby on Rails Controller Patterns and Anti-patterns

By Nikola Đuza on

In this part of the series on Rails patterns and anti-patterns, we are going to analyze the final part of the MVC (Model-View-Controller) design pattern — the Controller.

read more

Troubleshooting ActiveRecord Performance

By Tomas Fernandez on

You usually don't need to worry about AcriveRecord and its inner workings. This post comes in handy when performance issues arise and you have to start worrying about it.

read more

Using Webpacker in Your Ruby on Rails Application — a Deep Dive

By Paweł Dąbrowski on

Let's take a deep dive into Webpacker and see how the tool works under the hood.

read more

Ruby on Rails View Patterns and Anti-patterns

By Nikola Đuza on

Rails views are sometimes amazing and fast, and at other times, they can have all sorts of issues. If you want to increase confidence over how you handle your views, then this blog post is for you.

read more

More articles

Go back
Ruby magic icon

Subscribe to

Ruby Magic

Magicians never share their secrets. But we do. Sign up for our Ruby Magic email series and receive deep insights about garbage collection, memory allocation, concurrency and much more.

We'd like to set cookies, read why.