mapping total passed quiz questions integer to env variable within controller,model and specs