first application with ruby on rails - taken from "Ruby on Rails Tutorial: Learn Web Development With Rails"