sample_app from Ruby on Rails Tutorial 2nd ed.