Ruby on Rails Tutorial Programming Code Chap.3