tutorial: http://ruby.railstutorial.org/chapters/static-pages