demo application in rails