Following the ruby on rails tutorial at http://ruby.railstutorial.org/