sample_app code from Michael Hartl's "Ruby on Rails Tutorial: Learn Rails By Example"