ActiveRecord helper for serialized hashes

ActiveRecord's serialize functionality is quite useful when you want some schema-less data within a relational database. I have found this particularly useful for two cases: Design elements on a page Authentication data for various (unknown) external services However, the one thing that is missing from the built in functionality is the nice getter/setters that ActiveRecord provides. Let's face it, hash syntax can be pretty annoying...

Read More


Values: Where tech + handmade converge

Posted on September 15, 2012

I wrote a post on the blog for my coming soon! product inspired by a talk Francis Hwang gave at GoRuCo on Javascript. He said: Our tools will change, but our values can stay the same. Read my post here.

Read More


Showing a default image if one doesn’t exist in jQuery

Posted on June 27, 2012

Have you ever wanted to default an image if the image url doesn't exist? In javascript, how do you check whether that url is real or not? Here's how! (in jQuery) (more…)

Read More


DRY up Rspec with tap!

Posted on June 25, 2012

I'm a big fan of keeping Rspec DRY. Mostly, because it hurts my heart to have to write the same thing twice. It huuuurts. Here's a great article on code reuse in Rspec. A scenario I struggle with DRYing up: I'd like to either stub! or call should_receive on a method and sometimes return a value. Previously, I would still have to write the stub! or should_receive twice -- one with and_returns and one without. (more…)

Read More


Featured on STEMinist

Posted on June 22, 2012

This is a little behind the times due to a job change, but I was featured on the STEMinist blog back in April. Check it out. Note: I am no longer at that job.

Read More