Honeybadger Developer Blog

Tutorials, product info, and good advice from the Honeybadger crew.

Building a Documentation Workflow in Rails

Good docs make happy customers. But documentation is HARD. You have to figure out what's important and write it up in a way that's tailored to your audiences and consistent across the site. Now you need to set up a website, publish the docs and maintain them as your product changes. Fortunately, we have seasoned technical writer Kate Bartolo here to walk us through the whole process.

Rails Security Threats: Authentication

Authentication is at the heart of most web development, yet it is difficult to get right. In this article, Diogo Souza discusses common security problems with authentication systems and how you can resolve them. Even if you never build an authentication system from scratch (you shouldn't), understanding these security concerns will help you make sure whatever authentication system you use is doing its job.

Understanding RBS, Ruby's new Type Annotation System

Ruby's flexibility has always been both its greatest strength and its greatest weakness. You can write amazingly expressive programs. You can also slip and break them in amazingly expressive ways. RBS is a new type annotation system in Ruby 3 that seeks to keep ruby's flexibility while protecting us from some of its dangers. In this article, Julio Sampaio walks us through RBS. He explains the impact it has on metaprogramming, and he shows us how we can use it to make our own apps more robust.