Ruby

Ruby

Getting into the details of my favorite language
Oct
01
Code is a load-bearing poem (and a pop-up newsletter)

Code is a load-bearing poem (and a pop-up newsletter)

A program is a poem that you write for two audiences: The computer, and every programmer who comes after you.
3 min read
Aug
20
A close read of the ActionDispatch::Response class

A close read of the ActionDispatch::Response class

This is a line-by-line investigation of the ActionDispatch::Response class, focused on understanding why each line is the way that
9 min read
Jun
04
Using RSpec Feature Tests to Actually Test What You Think You're Testing

Using RSpec Feature Tests to Actually Test What You Think You're Testing

Given the brittleness of RSpec's have_tag matcher and the presence of new Webrat and Capybara matchers that do a better job, have_tag was not included in rspec-rails-2.
4 min read
May
28

A close read of the ActionDispatch::TestResponse class

Last week I talked about how I didn't know what an ActionDispatch::TestResponse was, or how and why it gets
7 min read
May
22
How does anyone learn to test?

How does anyone learn to test?

This week I got to the part of the "Learn Enough to Be Dangerous" Rails Tutorial where you write a
4 min read
Apr
30
Why I Set Up Honeycomb on Small Projects

Why I Set Up Honeycomb on Small Projects

What’s the point of instrumenting a toy "hello world" app?
3 min read