Web-App Sigma in rails