Sample application in rails ajax, bootstrap