sample application from Rails Tutorial 3 book