Logo of AppSignal

Menu

Ruby Magic

Ruby Magic is our special email series where we dive deep into all things Ruby. If you are interested in learning more about concurrency, webservers, memory allocations and garbage collection, you'll love this.

Inside Enumeration in Ruby

By Jeff Kreeftmeijer on

We dive even deeper into enumeration by looking at the internal implementation and implementing our own versions of the `Enumerable` module and the `Enumerator` class.

read more

Ruby's Hidden Gems:
Delegator and Forwardable

By Michael Kohl on

In today's exploration of Ruby's standard library, we're going to look at delegation through Ruby's Delegator and Forwardable classes.

read more

Learning by building, a Background Processing System in Ruby

By Benedikt Deicke on

In this edition of Ruby Magic, we'll implement our very own background processing system to offload potentially slow tasks as a peek into background job libraries like Sidekiq.

read more

Ruby's Hidden Gems, StringScanner

By Michael Kohl on

Ruby comes with an excellent standard library. Parts of which are unknown, almost hidden gems, like today's subject Stringscanner

read more

Unraveling Classes, Instances and Metaclasses in Ruby

By Jeff Kreeftmeijer on

Through examining metaclasses, we'll learn how class and instance methods work in Ruby.

read more

Bindings and Lexical Scope in Ruby

By Jeff Kreeftmeijer on

In this edition of Ruby Magic, we’ll show how scope works in Ruby’s methods and closures. We’ll also take a peek at how ERB uses the binding object to render templates.

read more

Fibers and Enumerators in Ruby: Turning Blocks Inside Out

By Julik Tarkhanov on

In this edition of Ruby Magic, we shine a light on Enumerable and Fiber to explain flow controlling enumerables and turning blocks inside out.

read more

Building a Ruby C Extension From Scratch

By Thijs Cadier on

In this edition of Ruby Magic, we'll show you how to use code written in C from Ruby.

read more

The Magic of Class-level Instance Variables

By Benedikt Deicke on

Even classes are objects in Ruby. In this edition of Ruby Magic, we'll look at class-level instance variables by creating a module for wrapping an object's methods.

read more

Closures in Ruby: Blocks, Procs and Lambdas

By Jeff Kreeftmeijer on

In Ruby Magic we love to dive into the magic behind the things we use every day to understand how they work. In this edition, we’ll explore the differences between blocks, procs and lambdas.

read more

Changing the Way Ruby Creates Objects

By Benedikt Deicke on

In this edition of Ruby Magic, we'll look at how Ruby creates and initializes objects and how we can modify the default behavior.

read more

Ruby Magic Summer Special: The Best of AppSignal Academy

By Stefan Verkerk on

The best of AppSignal Academy: 5 of our favorite Ruby articles

read more

More articles

Go back

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.