Chapter 3 app for ruby on rails tutorial