This is a sample application taken from Michael Hartl's Ruby on Rails Tutorial