Ruby on Rails demo application (chapter 2)