demo application from rails tutorial