Understanding `self` in Ruby

A lot of problems faced by beginning Rubyists are caused by not understanding `self`. In this post we'll take a deep dive into `self` under conditions both common and uncommon.

Cool Ruby Regex Tricks

Ruby supports using regex in lots of interesting ways that go beyond the basic `String#match` method. In this post I cover a few of my favorites.

Using conditionals inside Ruby regular expressions

In this post, we'll dive into regex conditionals and discuss how to work around the limitations in Ruby's implementation of them

Benchmarking Ruby Refinements

Are refinements slow? I wrote a few benchmarks to find out. The answer was surprising.

Understanding Ruby Refinements and Lexical Scope

If you've never used Ruby's refinements, you might be surprised to learn that they're lexically scoped. We'll discuss what this means, and the implications for your code.

Multiple Levels of Subnavigation with Jekyll

In this post, we'll discuss how to separate an HTML document into logical sections based on heading tags. I'll all also show you a cool trick for rendering arbitrarily-deep subnavigation trees using Liquid templates.

Automatically generate subnavigation from H2s in Jekyll

Longer pages often benefit from subnavigation. In this post, we'll make a Jekyll plugin to dynamically generate subnavigation from H2 tags.

Monitoring for non-application errors on Heroku

When your service fails due to an exception in your application code (Ruby, Go, Elixir, etc...), Honeybadger alerts you. Unfortunately, application errors are only half the story. What happens when something goes wrong outside of your application code...

Announcing Honeybadger for Java

We are very proud to announce that Honeybadger now officially supports reporting exceptions and errors -- with advanced features such as nested exceptions and request data! -- from Java web applications.

Our new Java client makes it easy to get up...

New and Improved Search

Over the past few months we've been working on delivering an improved search experience for Honeybadger customers, and today we're happy to announce that it's finally ready.  Our goal was to provide more advanced search options for the data you've...