chapter two for Ruby on Rails