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.

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

Under the Hood: “Slurping” and Streaming Files in Ruby

By Jeff Kreeftmeijer on

Streaming files line by line is often preferred over “slurping” the whole content at once. In this edition of Ruby Magic, we'll learn how streaming files and other I/O streams works in Ruby.

read more

Ruby's magical Enumerable module

By Jeff Kreeftmeijer on

Ruby's handling of enumerables is one of it's most magical features. In this episode of Ruby Magic, we'll learn how these work and how to make your own objects tenumerable.

read more

Syntactic sugar methods
in Ruby

By Tom de Bruijn on

Ever hear about Ruby's syntactic sugar, but never knew what it meant or how to use it? In this article we'll explore just how we can use it to our advantage.

read more

A look at how Ruby interprets your code

By Tom de Bruijn on

A look at how Ruby interprets your code and how you can use this knowledge to your advantage.

read more

Concurrency Deep Dive: Event loops

By Thijs Cadier on

A deep dive into achieving concurrency using an event loop.

read more

Concurrency Deep Dive: Multi-threading

By Thijs Cadier on

A deep dive into achieving concurrency using threads.

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.