part of Ruby on Rails tutorial