a sample app from the ruby on rails tutorial