Learning Ruby on Rails - chapter 3 onwards