sample app using rails tutorial