Ch 3 - 11 of Hartl's Rails tutorial