sample app from ch3 ruby on rails