sample app by http://ruby.railstutorial.org/