A demo app from ruby on rails tutorial