a demo application using rails tutorial