Sample app from ruby on rails tutorial