Logo of AppSignal

Menu

Engineering

Our team handles over 30 billion requests each month. We run a stack with Ruby, MongoDB, Rust, Go, React and are improving this all the time.

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

Don't be mean: Statistical means and percentiles 101

By Robert Beekman on

A post about the statistics we use at AppSignal and how they work.

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

Understanding Elixir’s GenStages: Querying the Blockchain

By Miguel Palhas on

A dive into Elixir's GenStage module and backpressure using an example querying the blockchain

read more

Testing Asynchronous Threads in Ruby

By Peter Ohler on

Using a mental model with a Batman metaphor we explain testing asynchonous threads in Ruby

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 innards of a RubyGem

By Robert Beekman on

Share code with yourself or others by utilizing the RubyGems ecosystem.

read more

Hot Code Reloading in Elixir

By Jeff Kreeftmeijer on

How to upgrade code in a running Elixir application without restarting. 🏎

read more

ActiveRecord vs. Ecto
Part Two

By Elvio Viçosa Jr on

The second part of the "ActiveRecord vs. Ecto" series, in which Batman and Batgirl fight over querying databases and we compare apples and oranges.

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

ActiveRecord vs. Ecto
Part One

By Elvio Viçosa Jr on

In part one of this two-part series, we'll compare ActiveRecord and Ecto by looking at how they handle database schemas and migration.

read more

#to_s or #to_str?
Explicitly casting vs. implicitly coercing types in Ruby

By Tom de Bruijn on

We'll look into difference between explicit casting and implicit coercing in Ruby, and the difference between typecasting Leonard Nimoy and Michael Keaton.

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.