As a part of Hartl's Ruby on Rails tutorial