Ruby on rails tutorial demo app (Chapter 2)