sample_app from Hartl's ROR tutorial