Articles by Jon Rogers

Jon Rogers

Jon Rogers

Why Write Good Pull Requests?

Writing a good, clean pull request description gives us developers a chance to use words (not code) to explain why we are making the change, describe the problem this code is solving, and provide context around why we chose a particular implementation.

Jon Rogers

Jon Rogers

Presenters to Widgets with ActiveModel::Conversion

Rails offers an easy way to render objects in a view that are automatically associated with their own partials. With ActiveModel::Conversion, you can quickly build widgets out of classes (models or presenters or other). The Problem In a recent project, we had several little status/info blocks that we wanted to render on a page. Each

Jon Rogers

Jon Rogers

Crank your specs :redux

A couple months ago, Ben Lindsey wrote ‘Crank Your Specs’ which talked about how to speed up your test suite.  I’ve been chatting with him since then, and trying to figure out other ways to shave some time off our ever growing suite of tests.  Here’s a little trick I discovered that improved testing time.