Validating acyclic graphs Jul 7

Alexis King and I were building an inventory management system for a Widget factory. In the warehouse they have a variety...

Rails 4.2 broke Ngrok May 20

Nrgok is awesome. Anytime I need to tunnel my local process out to the real world for a minute, it's my goto. I haven...

Virtual Inventory Location May 18

I work on an application that sells Widgets. You as might know, a Widget can be a pretty serious investment. What you...

Generic Devise Layout Lookup May 15

I always forget this kind of stuff so I'll put it here for next time. If you want your devise views to share the same...

Broken Promises May 13

I love automated tests, and I rely on them as a source of confidence in the face of daunting change to complex systems...

Enumerable#find ifnone May 6

I have a WidgetKitManager who needs to make sure that WidgetKit's have homogenous widget types. When adding a widget,...

Delegation May 5

Wai-Yin and I were thinking about implementing Stripe Webhooks in one of our projects to help us keep our records in sync...

Class Extraction May 4

As time passes on a project, some classes have a tendency accumulate too many responsibilities. Take the following, simplified...