Changed flash[:error] to flash[:danger] in line 25
Changed flash[:error] to flash[:danger] in line 67
Used redis-server