Print CSS for Rails and a print link helper

A while back How About We for Couples launched gift memberships and we needed a way to allow the buyer to print something for the person they were giving it to. "No problem," I thought - we'll use a print stylesheet! Turns out there was a bit more to it than that. (more…)

Read More


Struct to hold url attributes you care about

Parsing urls can be quite annoying. Ruby's URI#parse and CGI#parse do a lot of the heavy lifting, they often don't give you exactly what you want in a convenient format. (more…)

Read More


The Path to Becoming a Developer :: Skillcrush Masterclass

Recently, I had the honor of doing a Skillcrush Masterclass on the Path to Becoming a Developer. I talked about how I became a developer, mining your own experience, and presented on the 4 things you can do now to become a professional developer: (more…)

Read More


How to convert a Ruby struct to a hash

Posted on November 13, 2013

Use inject! (more…)

Read More


How do databases work?

I put together this presentation to explain database concepts to people just learning Rails. Expect to learn: How databases store data Primary key, foreign key, and index in a database What is an algorithm and data structure? (more…)

Read More