From bb4c4e52c47e5d21c4eb5156f1b6ef9fadb24333 Mon Sep 17 00:00:00 2001 From: spengreb Date: Fri, 24 Apr 2020 17:10:55 +0200 Subject: [PATCH] Flatten user login json response --- .gitignore | 1 + app/controllers/authentication_controller.rb | 5 +- log/capistrano.log | 831 ----- log/development.log | 3102 ------------------ 4 files changed, 5 insertions(+), 3934 deletions(-) delete mode 100644 log/capistrano.log delete mode 100644 log/development.log diff --git a/.gitignore b/.gitignore index c9852b5..e4b7b11 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ /test/tmp/ /test/version_tmp/ /tmp/ +/log/ # Used by dotenv library to load environment variables. # .env diff --git a/app/controllers/authentication_controller.rb b/app/controllers/authentication_controller.rb index 837ac3d..5afe7ce 100644 --- a/app/controllers/authentication_controller.rb +++ b/app/controllers/authentication_controller.rb @@ -5,7 +5,10 @@ class AuthenticationController < ApplicationController auth_token = AuthenticateUser.new(auth_params[:email], auth_params[:password]).call user = User.find_by(email: auth_params[:email]) - json_response(auth_token: auth_token, user: user) + + response = user.as_json + response[:auth_token] = auth_token + json_response(response) end private diff --git a/log/capistrano.log b/log/capistrano.log deleted file mode 100644 index 8e45dd0..0000000 --- a/log/capistrano.log +++ /dev/null @@ -1,831 +0,0 @@ -# Logfile created on 2020-01-12 19:02:57 +0100 by logger.rb/66358 - INFO --------------------------------------------------------------------------- - INFO START 2020-01-12 19:02:57 +0100 cap production deploy - INFO --------------------------------------------------------------------------- - DEBUG [0bfda424] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net - DEBUG [0bfda424] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] - DEBUG [0bfda424] Finished in 4.639 seconds with exit status 0 (successful). - DEBUG [a6d033fd] Running /usr/bin/env which passenger as deploy@vereto.net - DEBUG [a6d033fd] Command: /usr/bin/env which passenger - DEBUG [a6d033fd] /usr/bin/passenger - DEBUG [a6d033fd] Finished in 0.163 seconds with exit status 0 (successful). - INFO [46df2e39] Running /usr/bin/env mkdir -p /tmp as deploy@vereto.net - DEBUG [46df2e39] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /tmp ) - INFO [46df2e39] Finished in 0.154 seconds with exit status 0 (successful). - DEBUG Uploading /tmp/git-ssh-vereto-api-production-baron.sh 0.0% - INFO Uploading /tmp/git-ssh-vereto-api-production-baron.sh 100.0% - INFO [a942ccd8] Running /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh as deploy@vereto.net - DEBUG [a942ccd8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh ) - INFO [a942ccd8] Finished in 0.144 seconds with exit status 0 (successful). - INFO [317f4056] Running /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD as deploy@vereto.net - DEBUG [317f4056] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD ) - DEBUG [317f4056] 685b28714bc97dafc7df189b286bd95986ade0df HEAD - INFO [317f4056] Finished in 0.890 seconds with exit status 0 (successful). - INFO [05ae7d60] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases as deploy@vereto.net - DEBUG [05ae7d60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases ) - INFO [05ae7d60] Finished in 0.157 seconds with exit status 0 (successful). - INFO [c213b307] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets as deploy@vereto.net - DEBUG [c213b307] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets ) - INFO [c213b307] Finished in 0.147 seconds with exit status 0 (successful). - INFO [d337f1ac] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config as deploy@vereto.net - DEBUG [d337f1ac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config ) - INFO [d337f1ac] Finished in 0.145 seconds with exit status 0 (successful). - DEBUG [7e8ac4de] Running [ -f /home/deploy/vereto-api/shared/config/database.yml ] as deploy@vereto.net - DEBUG [7e8ac4de] Command: [ -f /home/deploy/vereto-api/shared/config/database.yml ] - DEBUG [7e8ac4de] Finished in 0.144 seconds with exit status 0 (successful). - DEBUG [a081fe54] Running [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] as deploy@vereto.net - DEBUG [a081fe54] Command: [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] - DEBUG [a081fe54] Finished in 0.154 seconds with exit status 0 (successful). - DEBUG [ec5bf915] Running [ -f /home/deploy/vereto-api/current/REVISION ] as deploy@vereto.net - DEBUG [ec5bf915] Command: [ -f /home/deploy/vereto-api/current/REVISION ] - DEBUG [ec5bf915] Finished in 0.160 seconds with exit status 0 (successful). - DEBUG [bd594c96] Running /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null as deploy@vereto.net - DEBUG [bd594c96] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null ) - DEBUG [bd594c96] afe097aac8d02176ebe68c8449ce7c936979f891 - DEBUG [bd594c96] Finished in 0.153 seconds with exit status 0 (successful). - DEBUG [617470d7] Running [ -f /home/deploy/vereto-api/repo/HEAD ] as deploy@vereto.net - DEBUG [617470d7] Command: [ -f /home/deploy/vereto-api/repo/HEAD ] - DEBUG [617470d7] Finished in 0.138 seconds with exit status 0 (successful). - INFO The repository mirror is at /home/deploy/vereto-api/repo - DEBUG [7f0ac10d] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [7f0ac10d] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [7f0ac10d] Finished in 0.149 seconds with exit status 0 (successful). - INFO [f4699e03] Running /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git as deploy@vereto.net - DEBUG [f4699e03] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git ) - INFO [f4699e03] Finished in 0.159 seconds with exit status 0 (successful). - INFO [f7e31e39] Running /usr/bin/env git remote update --prune as deploy@vereto.net - DEBUG [f7e31e39] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote update --prune ) - DEBUG [f7e31e39] Fetching origin - DEBUG [f7e31e39] From https://gitlab.com/spengreb/vereto-api - afe097a..685b287 master -> master - INFO [f7e31e39] Finished in 1.202 seconds with exit status 0 (successful). - DEBUG [eb19d044] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [eb19d044] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [eb19d044] Finished in 0.152 seconds with exit status 0 (successful). - INFO [112b89c6] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 as deploy@vereto.net - DEBUG [112b89c6] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 ) - INFO [112b89c6] Finished in 0.157 seconds with exit status 0 (successful). - INFO [885af707] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180304 as deploy@vereto.net - DEBUG [885af707] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180304 ) - INFO [885af707] Finished in 0.181 seconds with exit status 0 (successful). - DEBUG [e960dc48] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [e960dc48] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [e960dc48] Finished in 0.151 seconds with exit status 0 (successful). - DEBUG [c9f891a8] Running /usr/bin/env git rev-list --max-count=1 master as deploy@vereto.net - DEBUG [c9f891a8] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git rev-list --max-count=1 master ) - DEBUG [c9f891a8] 685b28714bc97dafc7df189b286bd95986ade0df - DEBUG [c9f891a8] Finished in 0.150 seconds with exit status 0 (successful). - DEBUG [849b1f48] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net - DEBUG [849b1f48] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi - DEBUG [849b1f48] Finished in 0.153 seconds with exit status 0 (successful). - INFO [4b6f1afd] Running /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION as deploy@vereto.net - DEBUG [4b6f1afd] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION ) - INFO [4b6f1afd] Finished in 0.146 seconds with exit status 0 (successful). - INFO [9de06430] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/config as deploy@vereto.net - DEBUG [9de06430] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/config ) - INFO [9de06430] Finished in 0.163 seconds with exit status 0 (successful). - DEBUG [adc8c214] Running [ -L /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] as deploy@vereto.net - DEBUG [adc8c214] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] - DEBUG [adc8c214] Finished in 0.135 seconds with exit status 1 (failed). - DEBUG [b6784838] Running [ -f /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] as deploy@vereto.net - DEBUG [b6784838] Command: [ -f /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] - DEBUG [b6784838] Finished in 0.140 seconds with exit status 0 (successful). - INFO [f5b3c498] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/database.yml as deploy@vereto.net - DEBUG [f5b3c498] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/database.yml ) - INFO [f5b3c498] Finished in 0.146 seconds with exit status 0 (successful). - INFO [cf2e1e0e] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180304/config/database.yml as deploy@vereto.net - DEBUG [cf2e1e0e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180304/config/database.yml ) - INFO [cf2e1e0e] Finished in 0.146 seconds with exit status 0 (successful). - DEBUG [193fa731] Running [ -L /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] as deploy@vereto.net - DEBUG [193fa731] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] - DEBUG [193fa731] Finished in 0.154 seconds with exit status 1 (failed). - DEBUG [41fe6883] Running [ -f /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] as deploy@vereto.net - DEBUG [41fe6883] Command: [ -f /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] - DEBUG [41fe6883] Finished in 0.140 seconds with exit status 0 (successful). - INFO [1a89441f] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml as deploy@vereto.net - DEBUG [1a89441f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ) - INFO [1a89441f] Finished in 0.145 seconds with exit status 0 (successful). - INFO [2fab4fe8] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml as deploy@vereto.net - DEBUG [2fab4fe8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ) - INFO [2fab4fe8] Finished in 0.145 seconds with exit status 0 (successful). - INFO [875add94] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 /home/deploy/vereto-api/releases/20200112180304/tmp /home/deploy/vereto-api/releases/20200112180304/vendor /home/deploy/vereto-api/releases/20200112180304/public as deploy@vereto.net - DEBUG [875add94] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 /home/deploy/vereto-api/releases/20200112180304/tmp /home/deploy/vereto-api/releases/20200112180304/vendor /home/deploy/vereto-api/releases/20200112180304/public ) - INFO [875add94] Finished in 0.149 seconds with exit status 0 (successful). - DEBUG [37f9b40f] Running [ -L /home/deploy/vereto-api/releases/20200112180304/log ] as deploy@vereto.net - DEBUG [37f9b40f] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/log ] - DEBUG [37f9b40f] Finished in 0.143 seconds with exit status 1 (failed). - DEBUG [15a14261] Running [ -d /home/deploy/vereto-api/releases/20200112180304/log ] as deploy@vereto.net - DEBUG [15a14261] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/log ] - DEBUG [15a14261] Finished in 0.146 seconds with exit status 0 (successful). - INFO [58e073bd] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180304/log as deploy@vereto.net - DEBUG [58e073bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180304/log ) - INFO [58e073bd] Finished in 0.146 seconds with exit status 0 (successful). - INFO [3a5399bd] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180304/log as deploy@vereto.net - DEBUG [3a5399bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180304/log ) - INFO [3a5399bd] Finished in 0.142 seconds with exit status 0 (successful). - DEBUG [3f09dec9] Running [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] as deploy@vereto.net - DEBUG [3f09dec9] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] - DEBUG [3f09dec9] Finished in 0.145 seconds with exit status 1 (failed). - DEBUG [04182ed4] Running [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] as deploy@vereto.net - DEBUG [04182ed4] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] - DEBUG [04182ed4] Finished in 0.139 seconds with exit status 1 (failed). - INFO [c6601b43] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180304/tmp/pids as deploy@vereto.net - DEBUG [c6601b43] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180304/tmp/pids ) - INFO [c6601b43] Finished in 0.141 seconds with exit status 0 (successful). - DEBUG [33567bb7] Running [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] as deploy@vereto.net - DEBUG [33567bb7] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] - DEBUG [33567bb7] Finished in 0.158 seconds with exit status 1 (failed). - DEBUG [e3c57431] Running [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] as deploy@vereto.net - DEBUG [e3c57431] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] - DEBUG [e3c57431] Finished in 0.155 seconds with exit status 1 (failed). - INFO [5daf57b4] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180304/tmp/cache as deploy@vereto.net - DEBUG [5daf57b4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180304/tmp/cache ) - INFO [5daf57b4] Finished in 0.155 seconds with exit status 0 (successful). - DEBUG [95ab55c7] Running [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] as deploy@vereto.net - DEBUG [95ab55c7] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] - DEBUG [95ab55c7] Finished in 0.141 seconds with exit status 1 (failed). - DEBUG [a9e5acb2] Running [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] as deploy@vereto.net - DEBUG [a9e5acb2] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] - DEBUG [a9e5acb2] Finished in 0.146 seconds with exit status 1 (failed). - INFO [a696ce2d] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180304/tmp/sockets as deploy@vereto.net - DEBUG [a696ce2d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ) - INFO [a696ce2d] Finished in 0.164 seconds with exit status 0 (successful). - DEBUG [80cd1ead] Running [ -L /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] as deploy@vereto.net - DEBUG [80cd1ead] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] - DEBUG [80cd1ead] Finished in 0.155 seconds with exit status 1 (failed). - DEBUG [3cc2d67e] Running [ -d /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] as deploy@vereto.net - DEBUG [3cc2d67e] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] - DEBUG [3cc2d67e] Finished in 0.140 seconds with exit status 1 (failed). - INFO [f9403bf3] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180304/vendor/bundle as deploy@vereto.net - DEBUG [f9403bf3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ) - INFO [f9403bf3] Finished in 0.151 seconds with exit status 0 (successful). - DEBUG [4422d958] Running [ -L /home/deploy/vereto-api/releases/20200112180304/public/system ] as deploy@vereto.net - DEBUG [4422d958] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/public/system ] - DEBUG [4422d958] Finished in 0.148 seconds with exit status 1 (failed). - DEBUG [704ebdc9] Running [ -d /home/deploy/vereto-api/releases/20200112180304/public/system ] as deploy@vereto.net - DEBUG [704ebdc9] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/public/system ] - DEBUG [704ebdc9] Finished in 0.152 seconds with exit status 1 (failed). - INFO [1a9a0d9e] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180304/public/system as deploy@vereto.net - DEBUG [1a9a0d9e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180304/public/system ) - INFO [1a9a0d9e] Finished in 0.148 seconds with exit status 0 (successful). - DEBUG [cab53086] Running [ -L /home/deploy/vereto-api/releases/20200112180304/public,uploads ] as deploy@vereto.net - DEBUG [cab53086] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/public,uploads ] - DEBUG [cab53086] Finished in 0.154 seconds with exit status 1 (failed). - DEBUG [5fafbb79] Running [ -d /home/deploy/vereto-api/releases/20200112180304/public,uploads ] as deploy@vereto.net - DEBUG [5fafbb79] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/public,uploads ] - DEBUG [5fafbb79] Finished in 0.142 seconds with exit status 1 (failed). - INFO [e05e2468] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180304/public,uploads as deploy@vereto.net - DEBUG [e05e2468] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180304/public,uploads ) - INFO [e05e2468] Finished in 0.157 seconds with exit status 0 (successful). - DEBUG [16b17f8b] Running [ -L /home/deploy/vereto-api/releases/20200112180304/public/assets ] as deploy@vereto.net - DEBUG [16b17f8b] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/public/assets ] - DEBUG [16b17f8b] Finished in 0.154 seconds with exit status 1 (failed). - DEBUG [8e544951] Running [ -d /home/deploy/vereto-api/releases/20200112180304/public/assets ] as deploy@vereto.net - DEBUG [8e544951] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/public/assets ] - DEBUG [8e544951] Finished in 0.144 seconds with exit status 1 (failed). - INFO [1a4d4574] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180304/public/assets as deploy@vereto.net - DEBUG [1a4d4574] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180304/public/assets ) - INFO [1a4d4574] Finished in 0.164 seconds with exit status 0 (successful). - DEBUG [5a8ddfec] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net - DEBUG [5a8ddfec] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi - DEBUG [5a8ddfec] Finished in 0.149 seconds with exit status 0 (successful). - DEBUG [9fa017c4] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle as deploy@vereto.net - DEBUG [9fa017c4] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle ) - DEBUG [9fa017c4] The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. - DEBUG [9fa017c4] The following gems are missing - DEBUG [9fa017c4] * byebug (11.0.1) - DEBUG [9fa017c4] * database_cleaner (1.7.0) - DEBUG [9fa017c4] * diff-lcs (1.3) - DEBUG [9fa017c4] * factory_girl (4.9.0) - DEBUG [9fa017c4] * factory_girl_rails (4.9.0) - DEBUG [9fa017c4] * faker (2.4.0) - DEBUG [9fa017c4] * ffi (1.11.1) - DEBUG [9fa017c4] * rb-fsevent (0.10.3) - DEBUG [9fa017c4] * rb-inotify (0.10.0) - DEBUG [9fa017c4] * ruby_dep (1.5.0) - DEBUG [9fa017c4] * listen (3.1.5) - DEBUG [9fa017c4] * rspec-support (3.8.2) - DEBUG [9fa017c4] * rspec-core (3.8.2) - DEBUG [9fa017c4] * rspec-expectations (3.8.4) - DEBUG [9fa017c4] * rspec-mocks (3.8.1) - DEBUG [9fa017c4] * rspec-rails (3.8.2) - DEBUG [9fa017c4] * shoulda-matchers (3.1.3) - DEBUG [9fa017c4] * spring (2.1.0) - DEBUG [9fa017c4] * spring-watcher-listen (2.0.1) - DEBUG [9fa017c4] Install missing gems with `bundle install` - DEBUG [9fa017c4] Finished in 1.104 seconds with exit status 1 (failed). - INFO [b7ea496b] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet as deploy@vereto.net - DEBUG [b7ea496b] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet ) - INFO [b7ea496b] Finished in 1.475 seconds with exit status 0 (successful). - DEBUG [b6c90dcf] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net - DEBUG [b6c90dcf] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi - DEBUG [b6c90dcf] Finished in 0.139 seconds with exit status 0 (successful). - INFO [c3757336] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@vereto.net - DEBUG [c3757336] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) - INFO [c3757336] Finished in 3.021 seconds with exit status 0 (successful). - DEBUG [ac7ded1e] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net - DEBUG [ac7ded1e] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi - DEBUG [ac7ded1e] Finished in 0.151 seconds with exit status 0 (successful). - INFO [841da4c3] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup as deploy@vereto.net - DEBUG [841da4c3] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup ) - INFO [841da4c3] Finished in 0.166 seconds with exit status 0 (successful). - DEBUG [c1a6f937] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* as deploy@vereto.net - DEBUG [c1a6f937] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* ) - DEBUG [c1a6f937] /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json - DEBUG [c1a6f937] Finished in 0.149 seconds with exit status 0 (successful). - DEBUG [3c3615c3] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* as deploy@vereto.net - DEBUG [3c3615c3] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* ) - DEBUG [3c3615c3] /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json - DEBUG [3c3615c3] Finished in 0.149 seconds with exit status 0 (successful). - INFO [54ca007c] Running /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup as deploy@vereto.net - DEBUG [54ca007c] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup ) - INFO [54ca007c] Finished in 0.148 seconds with exit status 0 (successful). - INFO [deploy:migrate] Run `rake db:migrate` - DEBUG [48fb7fc0] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net - DEBUG [48fb7fc0] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi - DEBUG [48fb7fc0] Finished in 0.137 seconds with exit status 0 (successful). - INFO [91bd8fa3] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@vereto.net - DEBUG [91bd8fa3] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) - DEBUG [91bd8fa3] rake aborted! - DEBUG [91bd8fa3] Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") - DEBUG [91bd8fa3] /home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `connect' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `initialize' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:231:in `retrieve_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:199:in `connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/tasks/database_tasks.rb:238:in `migrate' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:85:in `block (3 levels) in
' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `each' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `block (2 levels) in
' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `' -/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load' -/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `
' - DEBUG [91bd8fa3] Tasks: TOP => db:migrate - DEBUG [91bd8fa3] (See full trace by running task with --trace) - INFO --------------------------------------------------------------------------- - INFO START 2020-01-12 19:04:56 +0100 cap production deploy - INFO --------------------------------------------------------------------------- - DEBUG [2df39f0e] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net - DEBUG [2df39f0e] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] - DEBUG [2df39f0e] Finished in 4.957 seconds with exit status 0 (successful). - DEBUG [08684a53] Running /usr/bin/env which passenger as deploy@vereto.net - DEBUG [08684a53] Command: /usr/bin/env which passenger - DEBUG [08684a53] /usr/bin/passenger - DEBUG [08684a53] Finished in 0.142 seconds with exit status 0 (successful). - INFO [990eb3d2] Running /usr/bin/env mkdir -p /tmp as deploy@vereto.net - DEBUG [990eb3d2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /tmp ) - INFO [990eb3d2] Finished in 0.139 seconds with exit status 0 (successful). - DEBUG Uploading /tmp/git-ssh-vereto-api-production-baron.sh 0.0% - INFO Uploading /tmp/git-ssh-vereto-api-production-baron.sh 100.0% - INFO [f9d299b2] Running /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh as deploy@vereto.net - DEBUG [f9d299b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh ) - INFO [f9d299b2] Finished in 0.140 seconds with exit status 0 (successful). - INFO [1a2d7687] Running /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD as deploy@vereto.net - DEBUG [1a2d7687] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD ) - DEBUG [1a2d7687] 685b28714bc97dafc7df189b286bd95986ade0df HEAD - INFO [1a2d7687] Finished in 0.857 seconds with exit status 0 (successful). - INFO [06539811] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases as deploy@vereto.net - DEBUG [06539811] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases ) - INFO [06539811] Finished in 0.134 seconds with exit status 0 (successful). - INFO [db20ebc7] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets as deploy@vereto.net - DEBUG [db20ebc7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets ) - INFO [db20ebc7] Finished in 0.139 seconds with exit status 0 (successful). - INFO [a92e9eee] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config as deploy@vereto.net - DEBUG [a92e9eee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config ) - INFO [a92e9eee] Finished in 0.138 seconds with exit status 0 (successful). - DEBUG [b602e1de] Running [ -f /home/deploy/vereto-api/shared/config/database.yml ] as deploy@vereto.net - DEBUG [b602e1de] Command: [ -f /home/deploy/vereto-api/shared/config/database.yml ] - DEBUG [b602e1de] Finished in 0.139 seconds with exit status 0 (successful). - DEBUG [f1ee2af0] Running [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] as deploy@vereto.net - DEBUG [f1ee2af0] Command: [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] - DEBUG [f1ee2af0] Finished in 0.135 seconds with exit status 0 (successful). - DEBUG [40f6fc73] Running [ -f /home/deploy/vereto-api/current/REVISION ] as deploy@vereto.net - DEBUG [40f6fc73] Command: [ -f /home/deploy/vereto-api/current/REVISION ] - DEBUG [40f6fc73] Finished in 0.146 seconds with exit status 0 (successful). - DEBUG [f309f49f] Running /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null as deploy@vereto.net - DEBUG [f309f49f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null ) - DEBUG [f309f49f] afe097aac8d02176ebe68c8449ce7c936979f891 - DEBUG [f309f49f] Finished in 0.162 seconds with exit status 0 (successful). - DEBUG [c231e5e2] Running [ -f /home/deploy/vereto-api/repo/HEAD ] as deploy@vereto.net - DEBUG [c231e5e2] Command: [ -f /home/deploy/vereto-api/repo/HEAD ] - DEBUG [c231e5e2] Finished in 0.150 seconds with exit status 0 (successful). - INFO The repository mirror is at /home/deploy/vereto-api/repo - DEBUG [d987cc72] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [d987cc72] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [d987cc72] Finished in 0.147 seconds with exit status 0 (successful). - INFO [77078138] Running /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git as deploy@vereto.net - DEBUG [77078138] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git ) - INFO [77078138] Finished in 0.152 seconds with exit status 0 (successful). - INFO [4b6b4821] Running /usr/bin/env git remote update --prune as deploy@vereto.net - DEBUG [4b6b4821] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote update --prune ) - DEBUG [4b6b4821] Fetching origin - INFO [4b6b4821] Finished in 0.863 seconds with exit status 0 (successful). - DEBUG [44be1206] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [44be1206] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [44be1206] Finished in 0.140 seconds with exit status 0 (successful). - INFO [862203e6] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 as deploy@vereto.net - DEBUG [862203e6] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 ) - INFO [862203e6] Finished in 0.154 seconds with exit status 0 (successful). - INFO [e745806c] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180503 as deploy@vereto.net - DEBUG [e745806c] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180503 ) - INFO [e745806c] Finished in 0.167 seconds with exit status 0 (successful). - DEBUG [78109546] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [78109546] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [78109546] Finished in 0.140 seconds with exit status 0 (successful). - DEBUG [365f19d8] Running /usr/bin/env git rev-list --max-count=1 master as deploy@vereto.net - DEBUG [365f19d8] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git rev-list --max-count=1 master ) - DEBUG [365f19d8] 685b28714bc97dafc7df189b286bd95986ade0df - DEBUG [365f19d8] Finished in 0.152 seconds with exit status 0 (successful). - DEBUG [58e6085e] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net - DEBUG [58e6085e] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi - DEBUG [58e6085e] Finished in 0.149 seconds with exit status 0 (successful). - INFO [e37cc7d0] Running /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION as deploy@vereto.net - DEBUG [e37cc7d0] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION ) - INFO [e37cc7d0] Finished in 0.142 seconds with exit status 0 (successful). - INFO [9a9d9d42] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/config as deploy@vereto.net - DEBUG [9a9d9d42] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/config ) - INFO [9a9d9d42] Finished in 0.137 seconds with exit status 0 (successful). - DEBUG [6eda3eee] Running [ -L /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] as deploy@vereto.net - DEBUG [6eda3eee] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] - DEBUG [6eda3eee] Finished in 0.166 seconds with exit status 1 (failed). - DEBUG [5268b737] Running [ -f /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] as deploy@vereto.net - DEBUG [5268b737] Command: [ -f /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] - DEBUG [5268b737] Finished in 0.135 seconds with exit status 0 (successful). - INFO [784316d4] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/database.yml as deploy@vereto.net - DEBUG [784316d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/database.yml ) - INFO [784316d4] Finished in 0.151 seconds with exit status 0 (successful). - INFO [8a1f5f15] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180503/config/database.yml as deploy@vereto.net - DEBUG [8a1f5f15] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180503/config/database.yml ) - INFO [8a1f5f15] Finished in 0.156 seconds with exit status 0 (successful). - DEBUG [7786faea] Running [ -L /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] as deploy@vereto.net - DEBUG [7786faea] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] - DEBUG [7786faea] Finished in 0.131 seconds with exit status 1 (failed). - DEBUG [f361af21] Running [ -f /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] as deploy@vereto.net - DEBUG [f361af21] Command: [ -f /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] - DEBUG [f361af21] Finished in 0.133 seconds with exit status 0 (successful). - INFO [4ccf40d3] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml as deploy@vereto.net - DEBUG [4ccf40d3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ) - INFO [4ccf40d3] Finished in 0.140 seconds with exit status 0 (successful). - INFO [a5af2051] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml as deploy@vereto.net - DEBUG [a5af2051] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ) - INFO [a5af2051] Finished in 0.160 seconds with exit status 0 (successful). - INFO [0d4e9176] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 /home/deploy/vereto-api/releases/20200112180503/tmp /home/deploy/vereto-api/releases/20200112180503/vendor /home/deploy/vereto-api/releases/20200112180503/public as deploy@vereto.net - DEBUG [0d4e9176] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 /home/deploy/vereto-api/releases/20200112180503/tmp /home/deploy/vereto-api/releases/20200112180503/vendor /home/deploy/vereto-api/releases/20200112180503/public ) - INFO [0d4e9176] Finished in 0.145 seconds with exit status 0 (successful). - DEBUG [c87b3da9] Running [ -L /home/deploy/vereto-api/releases/20200112180503/log ] as deploy@vereto.net - DEBUG [c87b3da9] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/log ] - DEBUG [c87b3da9] Finished in 0.151 seconds with exit status 1 (failed). - DEBUG [26ce470e] Running [ -d /home/deploy/vereto-api/releases/20200112180503/log ] as deploy@vereto.net - DEBUG [26ce470e] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/log ] - DEBUG [26ce470e] Finished in 0.137 seconds with exit status 0 (successful). - INFO [33db9051] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180503/log as deploy@vereto.net - DEBUG [33db9051] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180503/log ) - INFO [33db9051] Finished in 0.141 seconds with exit status 0 (successful). - INFO [580e1643] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180503/log as deploy@vereto.net - DEBUG [580e1643] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180503/log ) - INFO [580e1643] Finished in 0.135 seconds with exit status 0 (successful). - DEBUG [81726969] Running [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] as deploy@vereto.net - DEBUG [81726969] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] - DEBUG [81726969] Finished in 0.139 seconds with exit status 1 (failed). - DEBUG [c2c4d1eb] Running [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] as deploy@vereto.net - DEBUG [c2c4d1eb] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] - DEBUG [c2c4d1eb] Finished in 0.156 seconds with exit status 1 (failed). - INFO [bc6ff5bc] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180503/tmp/pids as deploy@vereto.net - DEBUG [bc6ff5bc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180503/tmp/pids ) - INFO [bc6ff5bc] Finished in 0.142 seconds with exit status 0 (successful). - DEBUG [54b3e19c] Running [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] as deploy@vereto.net - DEBUG [54b3e19c] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] - DEBUG [54b3e19c] Finished in 0.142 seconds with exit status 1 (failed). - DEBUG [a174d23a] Running [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] as deploy@vereto.net - DEBUG [a174d23a] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] - DEBUG [a174d23a] Finished in 0.136 seconds with exit status 1 (failed). - INFO [81685617] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180503/tmp/cache as deploy@vereto.net - DEBUG [81685617] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180503/tmp/cache ) - INFO [81685617] Finished in 0.147 seconds with exit status 0 (successful). - DEBUG [9433b7dd] Running [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] as deploy@vereto.net - DEBUG [9433b7dd] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] - DEBUG [9433b7dd] Finished in 0.132 seconds with exit status 1 (failed). - DEBUG [00106824] Running [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] as deploy@vereto.net - DEBUG [00106824] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] - DEBUG [00106824] Finished in 0.139 seconds with exit status 1 (failed). - INFO [2dd9817b] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180503/tmp/sockets as deploy@vereto.net - DEBUG [2dd9817b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ) - INFO [2dd9817b] Finished in 0.144 seconds with exit status 0 (successful). - DEBUG [765ecc4a] Running [ -L /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] as deploy@vereto.net - DEBUG [765ecc4a] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] - DEBUG [765ecc4a] Finished in 0.146 seconds with exit status 1 (failed). - DEBUG [47084d16] Running [ -d /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] as deploy@vereto.net - DEBUG [47084d16] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] - DEBUG [47084d16] Finished in 0.157 seconds with exit status 1 (failed). - INFO [d705855d] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180503/vendor/bundle as deploy@vereto.net - DEBUG [d705855d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ) - INFO [d705855d] Finished in 0.142 seconds with exit status 0 (successful). - DEBUG [f9f65385] Running [ -L /home/deploy/vereto-api/releases/20200112180503/public/system ] as deploy@vereto.net - DEBUG [f9f65385] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/public/system ] - DEBUG [f9f65385] Finished in 0.142 seconds with exit status 1 (failed). - DEBUG [5e23c4da] Running [ -d /home/deploy/vereto-api/releases/20200112180503/public/system ] as deploy@vereto.net - DEBUG [5e23c4da] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/public/system ] - DEBUG [5e23c4da] Finished in 0.158 seconds with exit status 1 (failed). - INFO [2f6db027] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180503/public/system as deploy@vereto.net - DEBUG [2f6db027] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180503/public/system ) - INFO [2f6db027] Finished in 0.147 seconds with exit status 0 (successful). - DEBUG [2e15be8a] Running [ -L /home/deploy/vereto-api/releases/20200112180503/public,uploads ] as deploy@vereto.net - DEBUG [2e15be8a] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/public,uploads ] - DEBUG [2e15be8a] Finished in 0.139 seconds with exit status 1 (failed). - DEBUG [a80e2fb2] Running [ -d /home/deploy/vereto-api/releases/20200112180503/public,uploads ] as deploy@vereto.net - DEBUG [a80e2fb2] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/public,uploads ] - DEBUG [a80e2fb2] Finished in 0.148 seconds with exit status 1 (failed). - INFO [3514dabc] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180503/public,uploads as deploy@vereto.net - DEBUG [3514dabc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180503/public,uploads ) - INFO [3514dabc] Finished in 0.153 seconds with exit status 0 (successful). - DEBUG [06963f3b] Running [ -L /home/deploy/vereto-api/releases/20200112180503/public/assets ] as deploy@vereto.net - DEBUG [06963f3b] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/public/assets ] - DEBUG [06963f3b] Finished in 0.130 seconds with exit status 1 (failed). - DEBUG [c894c3ed] Running [ -d /home/deploy/vereto-api/releases/20200112180503/public/assets ] as deploy@vereto.net - DEBUG [c894c3ed] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/public/assets ] - DEBUG [c894c3ed] Finished in 0.133 seconds with exit status 1 (failed). - INFO [adfc3552] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180503/public/assets as deploy@vereto.net - DEBUG [adfc3552] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180503/public/assets ) - INFO [adfc3552] Finished in 0.145 seconds with exit status 0 (successful). - DEBUG [08053a7c] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net - DEBUG [08053a7c] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi - DEBUG [08053a7c] Finished in 0.148 seconds with exit status 0 (successful). - DEBUG [42264a5c] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle as deploy@vereto.net - DEBUG [42264a5c] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle ) - DEBUG [42264a5c] The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. - DEBUG [42264a5c] The following gems are missing - DEBUG [42264a5c] * byebug (11.0.1) - DEBUG [42264a5c] * database_cleaner (1.7.0) - DEBUG [42264a5c] * diff-lcs (1.3) - DEBUG [42264a5c] * factory_girl (4.9.0) - DEBUG [42264a5c] * factory_girl_rails (4.9.0) - DEBUG [42264a5c] * faker (2.4.0) - DEBUG [42264a5c] * ffi (1.11.1) - DEBUG [42264a5c] * rb-fsevent (0.10.3) - DEBUG [42264a5c] * rb-inotify (0.10.0) - DEBUG [42264a5c] * ruby_dep (1.5.0) - DEBUG [42264a5c] * listen (3.1.5) - DEBUG [42264a5c] * rspec-support (3.8.2) - DEBUG [42264a5c] * rspec-core (3.8.2) - DEBUG [42264a5c] * rspec-expectations (3.8.4) - DEBUG [42264a5c] * rspec-mocks (3.8.1) - DEBUG [42264a5c] * rspec-rails (3.8.2) - DEBUG [42264a5c] * shoulda-matchers (3.1.3) - DEBUG [42264a5c] * spring (2.1.0) - DEBUG [42264a5c] * spring-watcher-listen (2.0.1) - DEBUG [42264a5c] Install missing gems with `bundle install` - DEBUG [42264a5c] Finished in 1.036 seconds with exit status 1 (failed). - INFO [58589ae9] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet as deploy@vereto.net - DEBUG [58589ae9] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet ) - INFO [58589ae9] Finished in 1.428 seconds with exit status 0 (successful). - DEBUG [51fd90dc] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net - DEBUG [51fd90dc] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi - DEBUG [51fd90dc] Finished in 0.149 seconds with exit status 0 (successful). - INFO [3b275660] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@vereto.net - DEBUG [3b275660] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) - INFO [3b275660] Finished in 2.931 seconds with exit status 0 (successful). - DEBUG [0220df78] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net - DEBUG [0220df78] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi - DEBUG [0220df78] Finished in 0.173 seconds with exit status 0 (successful). - INFO [97a38135] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup as deploy@vereto.net - DEBUG [97a38135] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup ) - INFO [97a38135] Finished in 0.155 seconds with exit status 0 (successful). - DEBUG [e3525e35] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* as deploy@vereto.net - DEBUG [e3525e35] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* ) - DEBUG [e3525e35] /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json - DEBUG [e3525e35] Finished in 0.141 seconds with exit status 0 (successful). - DEBUG [d892d7ee] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* as deploy@vereto.net - DEBUG [d892d7ee] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* ) - DEBUG [d892d7ee] /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json - DEBUG [d892d7ee] Finished in 0.145 seconds with exit status 0 (successful). - INFO [0f8bac3c] Running /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup as deploy@vereto.net - DEBUG [0f8bac3c] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup ) - INFO [0f8bac3c] Finished in 0.145 seconds with exit status 0 (successful). - INFO [deploy:migrate] Run `rake db:migrate` - DEBUG [e53fb518] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net - DEBUG [e53fb518] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi - DEBUG [e53fb518] Finished in 0.131 seconds with exit status 0 (successful). - INFO [8acc5095] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@vereto.net - DEBUG [8acc5095] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) - DEBUG [8acc5095] rake aborted! - DEBUG [8acc5095] Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") - DEBUG [8acc5095] /home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `connect' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `initialize' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:231:in `retrieve_connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:199:in `connection' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/tasks/database_tasks.rb:238:in `migrate' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:85:in `block (3 levels) in
' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `each' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `block (2 levels) in
' -/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `' -/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load' -/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `
' - DEBUG [8acc5095] Tasks: TOP => db:migrate - DEBUG [8acc5095] (See full trace by running task with --trace) - INFO --------------------------------------------------------------------------- - INFO START 2020-01-12 19:24:17 +0100 cap production deploy - INFO --------------------------------------------------------------------------- - DEBUG [6240ee6c] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net - DEBUG [6240ee6c] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] - INFO --------------------------------------------------------------------------- - INFO START 2020-01-12 19:24:32 +0100 cap production deploy - INFO --------------------------------------------------------------------------- - DEBUG [df7ca90a] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net - DEBUG [df7ca90a] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] - DEBUG [df7ca90a] Finished in 0.807 seconds with exit status 0 (successful). - DEBUG [1d87a1d2] Running /usr/bin/env which passenger as deploy@vereto.net - DEBUG [1d87a1d2] Command: /usr/bin/env which passenger - DEBUG [1d87a1d2] /usr/bin/passenger - DEBUG [1d87a1d2] Finished in 0.163 seconds with exit status 0 (successful). - INFO [e21944d6] Running /usr/bin/env mkdir -p /tmp as deploy@vereto.net - DEBUG [e21944d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /tmp ) - INFO [e21944d6] Finished in 0.148 seconds with exit status 0 (successful). - DEBUG Uploading /tmp/git-ssh-vereto-api-production-baron.sh 0.0% - INFO Uploading /tmp/git-ssh-vereto-api-production-baron.sh 100.0% - INFO [68ac8e8a] Running /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh as deploy@vereto.net - DEBUG [68ac8e8a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh ) - INFO [68ac8e8a] Finished in 0.143 seconds with exit status 0 (successful). - INFO [f2013c4a] Running /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD as deploy@vereto.net - DEBUG [f2013c4a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD ) - DEBUG [f2013c4a] 685b28714bc97dafc7df189b286bd95986ade0df HEAD - INFO [f2013c4a] Finished in 0.920 seconds with exit status 0 (successful). - INFO [87eb243c] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases as deploy@vereto.net - DEBUG [87eb243c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases ) - INFO [87eb243c] Finished in 0.163 seconds with exit status 0 (successful). - INFO [50e0d149] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets as deploy@vereto.net - DEBUG [50e0d149] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets ) - INFO [50e0d149] Finished in 0.155 seconds with exit status 0 (successful). - INFO [2c28e22c] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config as deploy@vereto.net - DEBUG [2c28e22c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config ) - INFO [2c28e22c] Finished in 0.163 seconds with exit status 0 (successful). - DEBUG [c3bbf231] Running [ -f /home/deploy/vereto-api/shared/config/database.yml ] as deploy@vereto.net - DEBUG [c3bbf231] Command: [ -f /home/deploy/vereto-api/shared/config/database.yml ] - DEBUG [c3bbf231] Finished in 0.135 seconds with exit status 0 (successful). - DEBUG [bede3edd] Running [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] as deploy@vereto.net - DEBUG [bede3edd] Command: [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] - DEBUG [bede3edd] Finished in 0.141 seconds with exit status 0 (successful). - DEBUG [89840692] Running [ -f /home/deploy/vereto-api/current/REVISION ] as deploy@vereto.net - DEBUG [89840692] Command: [ -f /home/deploy/vereto-api/current/REVISION ] - DEBUG [89840692] Finished in 0.149 seconds with exit status 0 (successful). - DEBUG [f273ba96] Running /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null as deploy@vereto.net - DEBUG [f273ba96] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null ) - DEBUG [f273ba96] afe097aac8d02176ebe68c8449ce7c936979f891 - DEBUG [f273ba96] Finished in 0.153 seconds with exit status 0 (successful). - DEBUG [67dc4aec] Running [ -f /home/deploy/vereto-api/repo/HEAD ] as deploy@vereto.net - DEBUG [67dc4aec] Command: [ -f /home/deploy/vereto-api/repo/HEAD ] - DEBUG [67dc4aec] Finished in 0.144 seconds with exit status 0 (successful). - INFO The repository mirror is at /home/deploy/vereto-api/repo - DEBUG [c9f795e2] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [c9f795e2] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [c9f795e2] Finished in 0.138 seconds with exit status 0 (successful). - INFO [58486dae] Running /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git as deploy@vereto.net - DEBUG [58486dae] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git ) - INFO [58486dae] Finished in 0.157 seconds with exit status 0 (successful). - INFO [3d74223a] Running /usr/bin/env git remote update --prune as deploy@vereto.net - DEBUG [3d74223a] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote update --prune ) - DEBUG [3d74223a] Fetching origin - INFO [3d74223a] Finished in 0.885 seconds with exit status 0 (successful). - DEBUG [94daea18] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [94daea18] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [94daea18] Finished in 0.150 seconds with exit status 0 (successful). - INFO [d18292d9] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 as deploy@vereto.net - DEBUG [d18292d9] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 ) - INFO [d18292d9] Finished in 0.157 seconds with exit status 0 (successful). - INFO [696034ef] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112182435 as deploy@vereto.net - DEBUG [696034ef] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112182435 ) - INFO [696034ef] Finished in 0.174 seconds with exit status 0 (successful). - DEBUG [b5afe61b] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net - DEBUG [b5afe61b] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi - DEBUG [b5afe61b] Finished in 0.143 seconds with exit status 0 (successful). - DEBUG [beff5e03] Running /usr/bin/env git rev-list --max-count=1 master as deploy@vereto.net - DEBUG [beff5e03] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git rev-list --max-count=1 master ) - DEBUG [beff5e03] 685b28714bc97dafc7df189b286bd95986ade0df - DEBUG [beff5e03] Finished in 0.145 seconds with exit status 0 (successful). - DEBUG [2ada25d2] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net - DEBUG [2ada25d2] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi - DEBUG [2ada25d2] Finished in 0.141 seconds with exit status 0 (successful). - INFO [d309c0df] Running /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION as deploy@vereto.net - DEBUG [d309c0df] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION ) - INFO [d309c0df] Finished in 0.141 seconds with exit status 0 (successful). - INFO [8e0693e1] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/config as deploy@vereto.net - DEBUG [8e0693e1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/config ) - INFO [8e0693e1] Finished in 0.149 seconds with exit status 0 (successful). - DEBUG [0cff24b8] Running [ -L /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] as deploy@vereto.net - DEBUG [0cff24b8] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] - DEBUG [0cff24b8] Finished in 0.146 seconds with exit status 1 (failed). - DEBUG [e3849d00] Running [ -f /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] as deploy@vereto.net - DEBUG [e3849d00] Command: [ -f /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] - DEBUG [e3849d00] Finished in 0.157 seconds with exit status 0 (successful). - INFO [1ecd3d1d] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/database.yml as deploy@vereto.net - DEBUG [1ecd3d1d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/database.yml ) - INFO [1ecd3d1d] Finished in 0.155 seconds with exit status 0 (successful). - INFO [b320e15c] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112182435/config/database.yml as deploy@vereto.net - DEBUG [b320e15c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112182435/config/database.yml ) - INFO [b320e15c] Finished in 0.143 seconds with exit status 0 (successful). - DEBUG [f764ba3a] Running [ -L /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] as deploy@vereto.net - DEBUG [f764ba3a] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] - DEBUG [f764ba3a] Finished in 0.147 seconds with exit status 1 (failed). - DEBUG [ff601627] Running [ -f /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] as deploy@vereto.net - DEBUG [ff601627] Command: [ -f /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] - DEBUG [ff601627] Finished in 0.149 seconds with exit status 0 (successful). - INFO [d6f9e73d] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml as deploy@vereto.net - DEBUG [d6f9e73d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ) - INFO [d6f9e73d] Finished in 0.142 seconds with exit status 0 (successful). - INFO [08b88919] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml as deploy@vereto.net - DEBUG [08b88919] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ) - INFO [08b88919] Finished in 0.160 seconds with exit status 0 (successful). - INFO [9a9817ba] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/20200112182435/tmp /home/deploy/vereto-api/releases/20200112182435/vendor /home/deploy/vereto-api/releases/20200112182435/public as deploy@vereto.net - DEBUG [9a9817ba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/20200112182435/tmp /home/deploy/vereto-api/releases/20200112182435/vendor /home/deploy/vereto-api/releases/20200112182435/public ) - INFO [9a9817ba] Finished in 0.147 seconds with exit status 0 (successful). - DEBUG [95ab69b6] Running [ -L /home/deploy/vereto-api/releases/20200112182435/log ] as deploy@vereto.net - DEBUG [95ab69b6] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/log ] - DEBUG [95ab69b6] Finished in 0.149 seconds with exit status 1 (failed). - DEBUG [adfca2a9] Running [ -d /home/deploy/vereto-api/releases/20200112182435/log ] as deploy@vereto.net - DEBUG [adfca2a9] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/log ] - DEBUG [adfca2a9] Finished in 0.145 seconds with exit status 0 (successful). - INFO [b5c0b847] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112182435/log as deploy@vereto.net - DEBUG [b5c0b847] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112182435/log ) - INFO [b5c0b847] Finished in 0.151 seconds with exit status 0 (successful). - INFO [bf94d7e0] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112182435/log as deploy@vereto.net - DEBUG [bf94d7e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112182435/log ) - INFO [bf94d7e0] Finished in 0.152 seconds with exit status 0 (successful). - DEBUG [430d613d] Running [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] as deploy@vereto.net - DEBUG [430d613d] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] - DEBUG [430d613d] Finished in 0.149 seconds with exit status 1 (failed). - DEBUG [ade8d62e] Running [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] as deploy@vereto.net - DEBUG [ade8d62e] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] - DEBUG [ade8d62e] Finished in 0.160 seconds with exit status 1 (failed). - INFO [9e5c9613] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112182435/tmp/pids as deploy@vereto.net - DEBUG [9e5c9613] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112182435/tmp/pids ) - INFO [9e5c9613] Finished in 0.142 seconds with exit status 0 (successful). - DEBUG [9a05b42c] Running [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] as deploy@vereto.net - DEBUG [9a05b42c] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] - DEBUG [9a05b42c] Finished in 0.151 seconds with exit status 1 (failed). - DEBUG [fa645596] Running [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] as deploy@vereto.net - DEBUG [fa645596] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] - DEBUG [fa645596] Finished in 0.148 seconds with exit status 1 (failed). - INFO [5001b686] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112182435/tmp/cache as deploy@vereto.net - DEBUG [5001b686] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112182435/tmp/cache ) - INFO [5001b686] Finished in 0.140 seconds with exit status 0 (successful). - DEBUG [5cac9a97] Running [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] as deploy@vereto.net - DEBUG [5cac9a97] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] - DEBUG [5cac9a97] Finished in 0.144 seconds with exit status 1 (failed). - DEBUG [c5c87f5b] Running [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] as deploy@vereto.net - DEBUG [c5c87f5b] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] - DEBUG [c5c87f5b] Finished in 0.144 seconds with exit status 1 (failed). - INFO [016f4da1] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112182435/tmp/sockets as deploy@vereto.net - DEBUG [016f4da1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ) - INFO [016f4da1] Finished in 0.144 seconds with exit status 0 (successful). - DEBUG [578a1b21] Running [ -L /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] as deploy@vereto.net - DEBUG [578a1b21] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] - DEBUG [578a1b21] Finished in 0.146 seconds with exit status 1 (failed). - DEBUG [c01a510e] Running [ -d /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] as deploy@vereto.net - DEBUG [c01a510e] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] - DEBUG [c01a510e] Finished in 0.141 seconds with exit status 1 (failed). - INFO [c72b45c2] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112182435/vendor/bundle as deploy@vereto.net - DEBUG [c72b45c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ) - INFO [c72b45c2] Finished in 0.152 seconds with exit status 0 (successful). - DEBUG [79fd7cba] Running [ -L /home/deploy/vereto-api/releases/20200112182435/public/system ] as deploy@vereto.net - DEBUG [79fd7cba] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/public/system ] - DEBUG [79fd7cba] Finished in 0.161 seconds with exit status 1 (failed). - DEBUG [3888da8c] Running [ -d /home/deploy/vereto-api/releases/20200112182435/public/system ] as deploy@vereto.net - DEBUG [3888da8c] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/public/system ] - DEBUG [3888da8c] Finished in 0.149 seconds with exit status 1 (failed). - INFO [c69be2c4] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112182435/public/system as deploy@vereto.net - DEBUG [c69be2c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112182435/public/system ) - INFO [c69be2c4] Finished in 0.143 seconds with exit status 0 (successful). - DEBUG [f696ca36] Running [ -L /home/deploy/vereto-api/releases/20200112182435/public,uploads ] as deploy@vereto.net - DEBUG [f696ca36] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/public,uploads ] - DEBUG [f696ca36] Finished in 0.149 seconds with exit status 1 (failed). - DEBUG [c1ecac81] Running [ -d /home/deploy/vereto-api/releases/20200112182435/public,uploads ] as deploy@vereto.net - DEBUG [c1ecac81] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/public,uploads ] - DEBUG [c1ecac81] Finished in 0.138 seconds with exit status 1 (failed). - INFO [954c8d19] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112182435/public,uploads as deploy@vereto.net - DEBUG [954c8d19] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112182435/public,uploads ) - INFO [954c8d19] Finished in 0.154 seconds with exit status 0 (successful). - DEBUG [f5d50318] Running [ -L /home/deploy/vereto-api/releases/20200112182435/public/assets ] as deploy@vereto.net - DEBUG [f5d50318] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/public/assets ] - DEBUG [f5d50318] Finished in 0.154 seconds with exit status 1 (failed). - DEBUG [1bf5b63d] Running [ -d /home/deploy/vereto-api/releases/20200112182435/public/assets ] as deploy@vereto.net - DEBUG [1bf5b63d] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/public/assets ] - DEBUG [1bf5b63d] Finished in 0.159 seconds with exit status 1 (failed). - INFO [fd40a83a] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112182435/public/assets as deploy@vereto.net - DEBUG [fd40a83a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112182435/public/assets ) - INFO [fd40a83a] Finished in 0.156 seconds with exit status 0 (successful). - DEBUG [c90839fa] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net - DEBUG [c90839fa] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi - DEBUG [c90839fa] Finished in 0.146 seconds with exit status 0 (successful). - DEBUG [f15c11ea] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle as deploy@vereto.net - DEBUG [f15c11ea] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle ) - DEBUG [f15c11ea] The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. - DEBUG [f15c11ea] The following gems are missing - DEBUG [f15c11ea] * byebug (11.0.1) - DEBUG [f15c11ea] * database_cleaner (1.7.0) - * diff-lcs (1.3) - DEBUG [f15c11ea] * factory_girl (4.9.0) - DEBUG [f15c11ea] * factory_girl_rails (4.9.0) - DEBUG [f15c11ea] * faker (2.4.0) - DEBUG [f15c11ea] * ffi (1.11.1) - DEBUG [f15c11ea] * rb-fsevent (0.10.3) - DEBUG [f15c11ea] * rb-inotify (0.10.0) - DEBUG [f15c11ea] * ruby_dep (1.5.0) - DEBUG [f15c11ea] * listen (3.1.5) - DEBUG [f15c11ea] * rspec-support (3.8.2) - DEBUG [f15c11ea] * rspec-core (3.8.2) - DEBUG [f15c11ea] * rspec-expectations (3.8.4) - DEBUG [f15c11ea] * rspec-mocks (3.8.1) - DEBUG [f15c11ea] * rspec-rails (3.8.2) - DEBUG [f15c11ea] * shoulda-matchers (3.1.3) - DEBUG [f15c11ea] * spring (2.1.0) - DEBUG [f15c11ea] * spring-watcher-listen (2.0.1) - DEBUG [f15c11ea] Install missing gems with `bundle install` - DEBUG [f15c11ea] Finished in 1.145 seconds with exit status 1 (failed). - INFO [f4b1a6c8] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet as deploy@vereto.net - DEBUG [f4b1a6c8] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet ) - INFO [f4b1a6c8] Finished in 1.458 seconds with exit status 0 (successful). - DEBUG [083c7b09] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net - DEBUG [083c7b09] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi - DEBUG [083c7b09] Finished in 0.144 seconds with exit status 0 (successful). - INFO [74b5355a] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@vereto.net - DEBUG [74b5355a] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) - INFO [74b5355a] Finished in 3.347 seconds with exit status 0 (successful). - DEBUG [bcaab755] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net - DEBUG [bcaab755] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi - DEBUG [bcaab755] Finished in 0.171 seconds with exit status 0 (successful). - INFO [03fce5fd] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup as deploy@vereto.net - DEBUG [03fce5fd] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup ) - INFO [03fce5fd] Finished in 0.171 seconds with exit status 0 (successful). - DEBUG [9c051fcd] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* as deploy@vereto.net - DEBUG [9c051fcd] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* ) - DEBUG [9c051fcd] /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json - DEBUG [9c051fcd] Finished in 0.160 seconds with exit status 0 (successful). - DEBUG [2d485e18] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* as deploy@vereto.net - DEBUG [2d485e18] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* ) - DEBUG [2d485e18] /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json - DEBUG [2d485e18] Finished in 0.146 seconds with exit status 0 (successful). - INFO [c01143c6] Running /usr/bin/env cp /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup as deploy@vereto.net - DEBUG [c01143c6] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cp /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup ) - INFO [c01143c6] Finished in 0.160 seconds with exit status 0 (successful). - INFO [deploy:migrate] Run `rake db:migrate` - DEBUG [da7408a9] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net - DEBUG [da7408a9] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi - DEBUG [da7408a9] Finished in 0.142 seconds with exit status 0 (successful). - INFO [6ebdb16b] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@vereto.net - DEBUG [6ebdb16b] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) - INFO [6ebdb16b] Finished in 2.782 seconds with exit status 0 (successful). - INFO [7d977893] Running /usr/bin/env ln -s /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/current as deploy@vereto.net - DEBUG [7d977893] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/current ) - INFO [7d977893] Finished in 0.166 seconds with exit status 0 (successful). - INFO [9ebd8e24] Running /usr/bin/env mv /home/deploy/vereto-api/releases/current /home/deploy/vereto-api as deploy@vereto.net - DEBUG [9ebd8e24] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mv /home/deploy/vereto-api/releases/current /home/deploy/vereto-api ) - INFO [9ebd8e24] Finished in 0.150 seconds with exit status 0 (successful). - DEBUG [6554130c] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net - DEBUG [6554130c] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi - DEBUG [6554130c] Finished in 0.142 seconds with exit status 0 (successful). - DEBUG [9b35c06c] Running /usr/bin/env passenger -v as deploy@vereto.net - DEBUG [9b35c06c] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env passenger -v ) - DEBUG [9b35c06c] Phusion Passenger 6.0.4 - DEBUG [9b35c06c] Finished in 0.415 seconds with exit status 0 (successful). - INFO [75542702] Running /usr/bin/env passenger-config restart-app /home/deploy/vereto-api --ignore-app-not-running as deploy@vereto.net - DEBUG [75542702] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env passenger-config restart-app /home/deploy/vereto-api --ignore-app-not-running ) - DEBUG [75542702] Restarting /home/deploy/vereto-api/current (production) - INFO [75542702] Finished in 0.603 seconds with exit status 0 (successful). - DEBUG [f772232d] Running /usr/bin/env ls -x /home/deploy/vereto-api/releases as deploy@vereto.net - DEBUG [f772232d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls -x /home/deploy/vereto-api/releases ) - DEBUG [f772232d] 20191021090614 20191021091123 20191021091244 20191021092428 20191021092833 -20200112180304 20200112180503 20200112182435 - DEBUG [f772232d] Finished in 0.167 seconds with exit status 0 (successful). - INFO Keeping 5 of 8 deployed releases on vereto.net - DEBUG [5fa8e710] Running [ -d /home/deploy/vereto-api/current ] as deploy@vereto.net - DEBUG [5fa8e710] Command: [ -d /home/deploy/vereto-api/current ] - DEBUG [5fa8e710] Finished in 0.148 seconds with exit status 0 (successful). - DEBUG [e344c210] Running /usr/bin/env readlink /home/deploy/vereto-api/current as deploy@vereto.net - DEBUG [e344c210] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env readlink /home/deploy/vereto-api/current ) - DEBUG [e344c210] /home/deploy/vereto-api/releases/20200112182435 - DEBUG [e344c210] Finished in 0.147 seconds with exit status 0 (successful). - INFO [b7971284] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20191021090614 /home/deploy/vereto-api/releases/20191021091123 /home/deploy/vereto-api/releases/20191021091244 as deploy@vereto.net - DEBUG [b7971284] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20191021090614 /home/deploy/vereto-api/releases/20191021091123 /home/deploy/vereto-api/releases/20191021091244 ) - INFO [b7971284] Finished in 0.220 seconds with exit status 0 (successful). - DEBUG [c4f0a0b2] Running if test ! -d /home/deploy/vereto-api/releases; then echo "Directory does not exist '/home/deploy/vereto-api/releases'" 1>&2; false; fi as deploy@vereto.net - DEBUG [c4f0a0b2] Command: if test ! -d /home/deploy/vereto-api/releases; then echo "Directory does not exist '/home/deploy/vereto-api/releases'" 1>&2; false; fi - DEBUG [c4f0a0b2] Finished in 0.137 seconds with exit status 0 (successful). - INFO [265c25a7] Running /usr/bin/env echo "Branch master (at 685b28714bc97dafc7df189b286bd95986ade0df) deployed as release 20200112182435 by baron" >> /home/deploy/vereto-api/revisions.log as deploy@vereto.net - DEBUG [265c25a7] Command: cd /home/deploy/vereto-api/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "Branch master (at 685b28714bc97dafc7df189b286bd95986ade0df) deployed as release 20200112182435 by baron" >> /home/deploy/vereto-api/revisions.log ) - INFO [265c25a7] Finished in 0.144 seconds with exit status 0 (successful). diff --git a/log/development.log b/log/development.log deleted file mode 100644 index b373323..0000000 --- a/log/development.log +++ /dev/null @@ -1,3102 +0,0 @@ -Started GET "/" for 127.0.0.1 at 2019-02-12 10:54:57 +0100 - -Mysql2::Error::ConnectionError (Access denied for user 'root'@'localhost' (using password: YES)): - -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `connect' -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `initialize' -activerecord (5.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new' -activerecord (5.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:811:in `new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:855:in `checkout_new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:834:in `try_to_checkout_new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:795:in `acquire_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:523:in `checkout' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in `connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:1010:in `retrieve_connection' -activerecord (5.2.2) lib/active_record/connection_handling.rb:118:in `retrieve_connection' -activerecord (5.2.2) lib/active_record/connection_handling.rb:90:in `connection' -activerecord (5.2.2) lib/active_record/migration.rb:554:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' -activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' -actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' -railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' -railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.6) lib/rack/runtime.rb:22:in `call' -activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' -rack (2.0.6) lib/rack/sendfile.rb:111:in `call' -rack-cors (1.0.2) lib/rack/cors.rb:97:in `call' -railties (5.2.2) lib/rails/engine.rb:524:in `call' -puma (3.12.0) lib/puma/configuration.rb:225:in `call' -puma (3.12.0) lib/puma/server.rb:658:in `handle_request' -puma (3.12.0) lib/puma/server.rb:472:in `process_client' -puma (3.12.0) lib/puma/server.rb:332:in `block in run' -puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' -  (11.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) CREATE DATABASE `vereto-api-dev` DEFAULT CHARACTER SET `utf8` -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) CREATE DATABASE `vereto-api-test` DEFAULT CHARACTER SET `utf8` -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (18.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY) -  (41.7ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) -  (0.3ms) SELECT GET_LOCK('1433072424460498080', 0) -  (1.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUsers (20180216131546) -  (31.7ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `email` varchar(255), `password_digest` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (0.1ms) BEGIN - ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180216131546') -  (6.2ms) COMMIT -Migrating to CreateArticles (20180219100642) -  (53.8ms) CREATE TABLE `articles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `title` varchar(255), `post` text, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_articles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3d31dad1cc` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.3ms) BEGIN - ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180219100642') -  (26.4ms) COMMIT -Migrating to CreateComments (20180222154430) -  (59.3ms) CREATE TABLE `comments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `content` text, `article_id` bigint, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_comments_on_article_id` (`article_id`), INDEX `index_comments_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3bf61a60d3` -FOREIGN KEY (`article_id`) - REFERENCES `articles` (`id`) -, CONSTRAINT `fk_rails_03de2dc08c` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (3.0ms) BEGIN - ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180222154430') -  (2.0ms) COMMIT - ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.1ms) BEGIN - ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2019-02-12 09:55:50', '2019-02-12 09:55:50') -  (2.4ms) COMMIT -  (0.2ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Started GET "/" for 127.0.0.1 at 2019-02-12 10:56:10 +0100 -  (1.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by Rails::WelcomeController#index as HTML - Rendering /home/crmcma/.rvm/gems/ruby-2.5.1/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb - Rendered /home/crmcma/.rvm/gems/ruby-2.5.1/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (4.3ms) -Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 0.0ms) - - -Started GET "/articles" for 127.0.0.1 at 2019-02-12 10:56:30 +0100 -Processing by V1::ArticlesController#index as HTML -  (1.8ms) SELECT COUNT(*) FROM `articles` - Article Load (0.9ms) SELECT `articles`.* FROM `articles` ORDER BY `articles`.`created_at` DESC LIMIT 10 OFFSET 0 -Completed 200 OK in 39ms (Views: 0.4ms | ActiveRecord: 3.9ms) - - -Started POST "/register" for 127.0.0.1 at 2019-02-12 10:58:37 +0100 -Processing by UsersController#create as HTML - Parameters: {"name"=>"Conor", "email"=>"conor@manusit.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>{"name"=>"Conor", "email"=>"conor@manusit.com"}} -Unpermitted parameter: :user -  (0.3ms) BEGIN - User Exists (0.5ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'conor@manusit.com' LIMIT 1 - User Create (0.4ms) INSERT INTO `users` (`name`, `email`, `password_digest`, `created_at`, `updated_at`) VALUES ('Conor', 'conor@manusit.com', '$2a$10$DYwsTWega.Wdqdijh2VUxuhaL0VIxBBWmxHWvkTVnwSYdWKPemkpS', '2019-02-12 09:58:37', '2019-02-12 09:58:37') -  (4.5ms) COMMIT - User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 201 Created in 248ms (Views: 0.3ms | ActiveRecord: 11.8ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 10:59:19 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 135ms (Views: 0.8ms | ActiveRecord: 0.4ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 11:29:34 +0100 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 177ms (Views: 0.8ms | ActiveRecord: 4.0ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 11:30:40 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 171ms (Views: 1.1ms | ActiveRecord: 0.4ms) - - -Started GET "/" for 127.0.0.1 at 2019-02-12 11:31:43 +0100 -Processing by Rails::WelcomeController#index as HTML - Rendering /home/crmcma/.rvm/gems/ruby-2.5.1/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb - Rendered /home/crmcma/.rvm/gems/ruby-2.5.1/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (3.6ms) -Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.0ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 15:42:31 +0100 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 162ms (Views: 2.4ms | ActiveRecord: 1.9ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 15:57:56 +0100 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 129ms (Views: 0.8ms | ActiveRecord: 1.5ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 16:45:22 +0100 -  (0.8ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 163ms (Views: 2.6ms | ActiveRecord: 1.3ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 16:46:40 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 180ms (Views: 0.6ms | ActiveRecord: 0.2ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 16:52:50 +0100 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 159ms (Views: 0.7ms | ActiveRecord: 1.1ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 16:54:04 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (2.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 183ms (Views: 5.1ms | ActiveRecord: 2.3ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 16:56:01 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 176ms (Views: 1.1ms | ActiveRecord: 0.6ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 16:58:38 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 165ms (Views: 0.6ms | ActiveRecord: 1.3ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 17:08:06 +0100 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 175ms (Views: 2.0ms | ActiveRecord: 1.3ms) - - -Started POST "/login" for 127.0.0.1 at 2019-02-12 17:08:29 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Unpermitted parameter: :authentication - CACHE User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] -Completed 200 OK in 150ms (Views: 1.3ms | ActiveRecord: 1.2ms) - - -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT GET_LOCK('1433072424460498080', 0) -  (6.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUserProfiles (20190214142704) -  (59.6ms) CREATE TABLE `user_profiles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `avatar` varchar(255), `tagline` varchar(255), `dob` date, `role` varchar(255), `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_user_profiles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_87a6352e58` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) -  (0.2ms) BEGIN - ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190214142704') -  (8.8ms) COMMIT - ActiveRecord::InternalMetadata Load (8.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - Comment Load (0.5ms) SELECT `comments`.* FROM `comments` LIMIT 11 - User Load (0.4ms) SELECT `users`.* FROM `users` LIMIT 11 - User Load (0.5ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`user_id` = 1 LIMIT 11 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC - ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - User Load (0.1ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - User Load (0.2ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - User Load (0.3ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - UserProfile Load (0.4ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - UserProfile Load (0.4ms) SELECT `user_profiles`.* FROM `user_profiles` LIMIT 11 - User Load (0.7ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - User Load (0.3ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - User Load (0.3ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - User Load (0.3ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - UserProfile Load (0.3ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - UserProfile Load (0.3ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - UserProfile Load (0.1ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - UserProfile Load (0.1ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 - User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 - UserProfile Load (0.2ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 - User Load (0.3ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 -  (0.1ms) BEGIN - UserProfile Create (0.7ms) INSERT INTO `user_profiles` (`avatar`, `tagline`, `dob`, `role`, `user_id`, `created_at`, `updated_at`) VALUES ('img.png', 'The Tagline', -96, 'admin', 1, '2019-02-14 14:52:55', '2019-02-14 14:52:55') -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN - UserProfile Create (0.3ms) INSERT INTO `user_profiles` (`avatar`, `tagline`, `role`, `user_id`, `created_at`, `updated_at`) VALUES ('img.png', 'The Tagline', 'admin', 1, '2019-02-14 14:53:15', '2019-02-14 14:53:15') -  (3.9ms) COMMIT - User Load (0.2ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - UserProfile Load (0.6ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUserProfiles (20190214142704) -  (15.1ms) DROP TABLE `user_profiles` - ActiveRecord::SchemaMigration Destroy (2.9ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20190214142704' -  (0.2ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUserProfiles (20190214142704) -  (46.7ms) CREATE TABLE `user_profiles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `avatar` varchar(255), `tagline` varchar(255), `dob` date, `role` varchar(255), `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_user_profiles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_87a6352e58` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) -  (0.2ms) BEGIN - ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190214142704') -  (1.9ms) COMMIT - ActiveRecord::InternalMetadata Load (0.1ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.2ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -  (0.6ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - User Load (0.2ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 - UserProfile Load (0.4ms) SELECT `user_profiles`.* FROM `user_profiles` WHERE `user_profiles`.`user_id` = 1 LIMIT 1 -  (0.6ms) BEGIN - UserProfile Create (0.4ms) INSERT INTO `user_profiles` (`avatar`, `tagline`, `role`, `user_id`, `created_at`, `updated_at`) VALUES ('img.png', 'The Tagline', 'admin', 1, '2019-02-14 14:56:23', '2019-02-14 14:56:23') -  (1.9ms) COMMIT - UserProfile Destroy (4.3ms) DELETE FROM `user_profiles` WHERE `user_profiles`.`id` = 1 -  (0.2ms) BEGIN - UserProfile Create (0.4ms) INSERT INTO `user_profiles` (`avatar`, `tagline`, `dob`, `role`, `user_id`, `created_at`, `updated_at`) VALUES ('img.png', 'The Tagline', '1993-04-01', 'admin', 1, '2019-02-14 14:57:47', '2019-02-14 14:57:47') -  (3.8ms) COMMIT -Started GET "/" for 127.0.0.1 at 2019-09-26 13:17:21 +0200 - -Mysql2::Error::ConnectionError (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)): - -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `connect' -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `initialize' -activerecord (5.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new' -activerecord (5.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:811:in `new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:855:in `checkout_new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:834:in `try_to_checkout_new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:795:in `acquire_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:523:in `checkout' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in `connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:1010:in `retrieve_connection' -activerecord (5.2.2) lib/active_record/connection_handling.rb:118:in `retrieve_connection' -activerecord (5.2.2) lib/active_record/connection_handling.rb:90:in `connection' -activerecord (5.2.2) lib/active_record/migration.rb:554:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' -activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' -actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' -railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' -railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.6) lib/rack/runtime.rb:22:in `call' -activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' -rack (2.0.6) lib/rack/sendfile.rb:111:in `call' -rack-cors (1.0.2) lib/rack/cors.rb:97:in `call' -railties (5.2.2) lib/rails/engine.rb:524:in `call' -puma (3.12.0) lib/puma/configuration.rb:225:in `call' -puma (3.12.0) lib/puma/server.rb:658:in `handle_request' -puma (3.12.0) lib/puma/server.rb:472:in `process_client' -puma (3.12.0) lib/puma/server.rb:332:in `block in run' -puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' -Started GET "/favicon.ico" for 127.0.0.1 at 2019-09-26 13:17:22 +0200 - -Mysql2::Error::ConnectionError (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)): - -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `connect' -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `initialize' -activerecord (5.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new' -activerecord (5.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:811:in `new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:855:in `checkout_new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:834:in `try_to_checkout_new_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:795:in `acquire_connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:523:in `checkout' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in `connection' -activerecord (5.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:1010:in `retrieve_connection' -activerecord (5.2.2) lib/active_record/connection_handling.rb:118:in `retrieve_connection' -activerecord (5.2.2) lib/active_record/connection_handling.rb:90:in `connection' -activerecord (5.2.2) lib/active_record/migration.rb:554:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' -activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' -actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' -railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' -railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.6) lib/rack/runtime.rb:22:in `call' -activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' -rack (2.0.6) lib/rack/sendfile.rb:111:in `call' -rack-cors (1.0.2) lib/rack/cors.rb:97:in `call' -railties (5.2.2) lib/rails/engine.rb:524:in `call' -puma (3.12.0) lib/puma/configuration.rb:225:in `call' -puma (3.12.0) lib/puma/server.rb:658:in `handle_request' -puma (3.12.0) lib/puma/server.rb:472:in `process_client' -puma (3.12.0) lib/puma/server.rb:332:in `block in run' -puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' -  (2.0ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.5ms) CREATE DATABASE `vereto-api-dev` DEFAULT CHARACTER SET `utf8` -  (0.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.5ms) CREATE DATABASE `vereto-api-test` DEFAULT CHARACTER SET `utf8` -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (11.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY) -  (10.5ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (4.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUsers (20180216131546) -  (8.6ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `email` varchar(255), `password_digest` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (0.4ms) BEGIN - ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180216131546') -  (2.4ms) COMMIT -Migrating to CreateArticles (20180219100642) -  (11.9ms) CREATE TABLE `articles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `title` varchar(255), `post` text, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_articles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3d31dad1cc` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.3ms) BEGIN - ActiveRecord::SchemaMigration Create (1.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180219100642') -  (6.0ms) COMMIT -Migrating to CreateComments (20180222154430) -  (14.4ms) CREATE TABLE `comments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `content` text, `article_id` bigint, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_comments_on_article_id` (`article_id`), INDEX `index_comments_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3bf61a60d3` -FOREIGN KEY (`article_id`) - REFERENCES `articles` (`id`) -, CONSTRAINT `fk_rails_03de2dc08c` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.2ms) BEGIN - ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180222154430') -  (3.8ms) COMMIT -Migrating to CreateUserProfiles (20190214142704) -  (12.9ms) CREATE TABLE `user_profiles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `avatar` varchar(255), `tagline` varchar(255), `dob` date, `role` varchar(255), `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_user_profiles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_87a6352e58` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) -  (0.1ms) BEGIN - ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190214142704') -  (2.4ms) COMMIT - ActiveRecord::InternalMetadata Load (1.0ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.1ms) BEGIN - ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2019-09-26 11:22:33', '2019-09-26 11:22:33') -  (2.6ms) COMMIT -  (0.2ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Started GET "/" for 127.0.0.1 at 2019-09-26 13:22:52 +0200 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by Rails::WelcomeController#index as HTML - Rendering /usr/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb - Rendered /usr/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (4.6ms) -Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.0ms) - - -Started GET "/" for 127.0.0.1 at 2019-09-26 13:35:02 +0200 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - ↳ /usr/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 -  (0.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC - ↳ /usr/lib/ruby/gems/2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 -Processing by Rails::WelcomeController#index as HTML - Rendering /usr/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb - Rendered /usr/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (6.0ms) -Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.0ms) - - -Started GET "/" for 127.0.0.1 at 2019-09-26 13:40:38 +0200 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by Rails::WelcomeController#index as HTML - Rendering /home/crmcma/.gem/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb - Rendered /home/crmcma/.gem/ruby/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 11.2ms | Allocations: 571) -Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.0ms | Allocations: 3069) - - -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) CREATE DATABASE `vereto-api-dev` DEFAULT CHARACTER SET `utf8mb4` -  (0.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) CREATE DATABASE `vereto-api-test` DEFAULT CHARACTER SET `utf8mb4` -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (18.3ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY) -  (15.9ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL) -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUsers (20180216131546) -  (19.4ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `email` varchar(255), `password_digest` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (0.1ms) BEGIN - primary::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180216131546') -  (2.2ms) COMMIT -Migrating to CreateArticles (20180219100642) -  (18.1ms) CREATE TABLE `articles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `title` varchar(255), `post` text, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_articles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3d31dad1cc` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.1ms) BEGIN - primary::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180219100642') -  (5.1ms) COMMIT -Migrating to CreateComments (20180222154430) -  (21.5ms) CREATE TABLE `comments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `content` text, `article_id` bigint, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_comments_on_article_id` (`article_id`), INDEX `index_comments_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3bf61a60d3` -FOREIGN KEY (`article_id`) - REFERENCES `articles` (`id`) -, CONSTRAINT `fk_rails_03de2dc08c` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.1ms) BEGIN - primary::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180222154430') -  (2.4ms) COMMIT -Migrating to CreateUserProfiles (20190214142704) -  (30.6ms) CREATE TABLE `user_profiles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `avatar` varchar(255), `tagline` varchar(255), `dob` date, `role` varchar(255), `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_user_profiles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_87a6352e58` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) -  (0.1ms) BEGIN - primary::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190214142704') -  (3.0ms) COMMIT - ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.1ms) BEGIN - ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2019-09-27 10:43:00.227462', '2019-09-27 10:43:00.227462') -  (2.2ms) COMMIT -  (0.1ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Started POST "/register" for ::1 at 2019-09-27 12:43:26 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by UsersController#create as HTML - Parameters: {"name"=>"Promostarr", "email"=>"conor@manusit.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>{"name"=>"Promostarr", "email"=>"conor@manusit.com"}} -Unpermitted parameter: :user -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :email attribute in User model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/users_controller.rb:8) -  (0.1ms) BEGIN - ↳ app/controllers/users_controller.rb:8:in `create' - User Exists? (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'conor@manusit.com' LIMIT 1 - ↳ app/controllers/users_controller.rb:8:in `create' - User Create (0.3ms) INSERT INTO `users` (`name`, `email`, `password_digest`, `created_at`, `updated_at`) VALUES ('Promostarr', 'conor@manusit.com', '$2a$12$cS3om37.pKkcdxd9HpTdj.E37z0idpqhMpYg16H9XRjd6K6DN4eAW', '2019-09-27 10:43:26', '2019-09-27 10:43:26') - ↳ app/controllers/users_controller.rb:8:in `create' -  (3.3ms) COMMIT - ↳ app/controllers/users_controller.rb:8:in `create' - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Completed 201 Created in 585ms (Views: 0.2ms | ActiveRecord: 5.4ms | Allocations: 10264) - - -Started POST "/login" for ::1 at 2019-09-27 12:43:34 +0200 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 405ms (Views: 0.3ms | ActiveRecord: 0.6ms | Allocations: 2117) - - -Started POST "/login" for 127.0.0.1 at 2019-09-27 13:21:56 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 381ms (Views: 0.3ms | ActiveRecord: 0.3ms | Allocations: 2069) - - -Started POST "/login" for 127.0.0.1 at 2019-09-27 14:44:18 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 418ms (Views: 0.3ms | ActiveRecord: 0.5ms | Allocations: 2058) - - -Started POST "/login" for 127.0.0.1 at 2019-09-27 15:55:35 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 386ms (Views: 0.3ms | ActiveRecord: 0.4ms | Allocations: 2066) - - -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateVouchers (20190927154659) -  (19.2ms) CREATE TABLE `vouchers` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `voucher` varchar(255), `vouchee` varchar(255), `accepted` tinyint(1), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL) -  (0.1ms) BEGIN - primary::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190927154659') -  (2.0ms) COMMIT - ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.1ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Started GET "/" for ::1 at 2019-09-27 17:47:21 +0200 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by Rails::WelcomeController#index as */* - Rendering /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb - Rendered /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 4.0ms | Allocations: 559) -Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms | Allocations: 3047) - - -DEPRECATION WARNING: Using `bin/rake routes` is deprecated and will be removed in Rails 6.1. Use `bin/rails routes` instead. - (called from load at /usr/bin/rake:23) -Started GET "/vouchers" for ::1 at 2019-09-27 17:47:53 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* -Completed 422 Unprocessable Entity in 23ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 819) - - -Started GET "/" for ::1 at 2019-09-27 17:51:11 +0200 -Processing by Rails::WelcomeController#index as */* - Rendering /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb - Rendered /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 4.6ms | Allocations: 396) -Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms | Allocations: 2019) - - -Started GET "/articles" for ::1 at 2019-09-27 17:51:18 +0200 -Processing by V1::ArticlesController#index as */* -  (0.2ms) SELECT COUNT(*) FROM `articles` - ↳ app/controllers/v1/articles_controller.rb:10:in `index' - Article Load (0.1ms) SELECT `articles`.* FROM `articles` ORDER BY `articles`.`created_at` DESC LIMIT 10 OFFSET 0 - ↳ app/controllers/v1/articles_controller.rb:18:in `index' -Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.7ms | Allocations: 4509) - - -Started POST "/login?email=conor@manusit.com&password=[FILTERED]" for ::1 at 2019-09-27 17:52:35 +0200 -Processing by AuthenticationController#authenticate as */* - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]"} - User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' -Completed 401 Unauthorized in 240ms (Views: 0.2ms | ActiveRecord: 1.5ms | Allocations: 7762) - - -Started GET "/users" for ::1 at 2019-09-27 17:55:29 +0200 -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC - -AbstractController::ActionNotFound (The action 'index' could not be found for UsersController): - -actionpack (6.0.0) lib/abstract_controller/base.rb:131:in `process' -actionpack (6.0.0) lib/action_controller/metal.rb:191:in `dispatch' -actionpack (6.0.0) lib/action_controller/metal.rb:252:in `dispatch' -actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:51:in `dispatch' -actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:33:in `serve' -actionpack (6.0.0) lib/action_dispatch/journey/router.rb:49:in `block in serve' -actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in `each' -actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in `serve' -actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:837:in `call' -rack (2.0.7) lib/rack/etag.rb:25:in `call' -rack (2.0.7) lib/rack/conditional_get.rb:25:in `call' -rack (2.0.7) lib/rack/head.rb:12:in `call' -activerecord (6.0.0) lib/active_record/migration.rb:567:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' -activesupport (6.0.0) lib/active_support/callbacks.rb:101:in `run_callbacks' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started GET "/users/promostarr" for ::1 at 2019-09-27 17:56:19 +0200 -Processing by UsersController#show as */* - Parameters: {"id"=>"promostarr"} -Completed 422 Unprocessable Entity in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 2359) - - -Started GET "/" for 127.0.0.1 at 2019-09-27 17:59:54 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by Rails::WelcomeController#index as HTML - Rendering /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb - Rendered /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 4.3ms | Allocations: 396) -Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms | Allocations: 1981) - - -Started GET "/favicon.ico" for 127.0.0.1 at 2019-09-27 17:59:54 +0200 - -ActionController::RoutingError (No route matches [GET] "/favicon.ico"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started POST "/login" for 127.0.0.1 at 2019-09-27 18:00:06 +0200 - -ActionController::RoutingError (No route matches [POST] "/login"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started POST "/login" for 127.0.0.1 at 2019-09-27 18:00:22 +0200 - -ActionController::RoutingError (No route matches [POST] "/login"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started GET "/vouchers" for ::1 at 2019-09-27 18:08:59 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.8ms | Allocations: 2201) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:09:37 +0200 -Processing by VouchersController#create as */* - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 422 Unprocessable Entity in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 2294) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:10:14 +0200 -Processing by VouchersController#create as */* - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 596) - - - -NoMethodError (undefined method `permit' for "promostarr":String): - -app/controllers/vouchers_controller.rb:50:in `voucher_params' -app/controllers/vouchers_controller.rb:19:in `create' -Started POST "/login" for 127.0.0.1 at 2019-09-27 18:13:11 +0200 - -ActionController::RoutingError (No route matches [POST] "/login"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:16:29 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms | Allocations: 118) - - - -NoMethodError (undefined method `permit' for "promostarr":String): - -app/controllers/vouchers_controller.rb:50:in `voucher_params' -app/controllers/vouchers_controller.rb:19:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:21:56 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `accepted`, `created_at`, `updated_at`) VALUES ('promostarr', 'promostarr', TRUE, '2019-09-27 16:21:56.250842', '2019-09-27 16:21:56.250842') - ↳ app/controllers/vouchers_controller.rb:21:in `create' -  (33.7ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 201 Created in 42ms (Views: 0.8ms | ActiveRecord: 34.8ms | Allocations: 6974) - - -Started GET "/vouchers" for ::1 at 2019-09-27 18:22:14 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms | Allocations: 995) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:24:08 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 144) - - -Started GET "/vouchers" for ::1 at 2019-09-27 18:24:16 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 1.5ms | Allocations: 4261) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:24:29 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 243) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:24:35 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms | Allocations: 226) - - - -NoMethodError (undefined method `voucher' for #): - -app/controllers/vouchers_controller.rb:21:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:24:40 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 253) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:24:56 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 226) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:25:03 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 243) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:26:32 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 156) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:27:37 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 500 Internal Server Error in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 242) - - - -AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): - -app/controllers/vouchers_controller.rb:21:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:29:32 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:55: syntax error, unexpected end-of-input, expecting end): - -app/controllers/vouchers_controller.rb:55: syntax error, unexpected end-of-input, expecting end -app/controllers/vouchers_controller.rb:55: syntax error, unexpected end-of-input, expecting end -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:29:45 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 146) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr&accepted=1" for ::1 at 2019-09-27 18:30:16 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr", "accepted"=>"1"} -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms | Allocations: 654) - - - -NoMethodError (undefined method `findby' for #): - -app/controllers/vouchers_controller.rb:21:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:32:38 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/models/voucher.rb:3: syntax error, unexpected ':', expecting end -...alidates_presence_of :voucher :vouchee -... ^): - -app/models/voucher.rb:3: syntax error, unexpected ':', expecting end -app/models/voucher.rb:3: syntax error, unexpected ':', expecting end -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:32:57 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} -Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 625) - - - -NoMethodError (undefined method `findby' for #): - -app/controllers/vouchers_controller.rb:21:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:33:05 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 153) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:33:18 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 154) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:34:18 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 1.1ms | Allocations: 5080) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:34:33 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` WHERE `vouchers`.`voucher` = 'leoroy' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.9ms | Allocations: 1212) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:36:11 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} - Voucher Load (0.5ms) SELECT `vouchers`.* FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - CACHE Voucher Load (0.0ms) SELECT `vouchers`.* FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 [["voucher", "promostarr"], ["LIMIT", 1]] - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 1.5ms | Allocations: 5018) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:36:42 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - CACHE Voucher Load (0.0ms) SELECT `vouchers`.* FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 [["voucher", "promostarr"], ["LIMIT", 1]] - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 500 Internal Server Error in 52ms (ActiveRecord: 1.9ms | Allocations: 32016) - - - -NameError (undefined local variable or method `null' for #): - -app/controllers/vouchers_controller.rb:22:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:38:47 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.7ms | Allocations: 1212) - - -Started POST "/vouchers?voucher=promostarr&vouchee=promostarr" for ::1 at 2019-09-27 18:39:18 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"promostarr"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 1726) - - -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:39:45 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 1324) - - -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:39:51 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 1806) - - -Started GET "/vouchers" for ::1 at 2019-09-27 18:40:35 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.2ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 1.2ms | Allocations: 4335) - - -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:40:40 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 1967) - - -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:41:51 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:22:in `create' -Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 1.0ms | Allocations: 2417) - - -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:42:43 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 41ms (ActiveRecord: 1.6ms | Allocations: 33728) - - - -NameError (undefined local variable or method `output' for #): - -app/controllers/vouchers_controller.rb:27:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:42:50 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:27:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('promostarr', 'goblin', '2019-09-27 16:42:50.461923', '2019-09-27 16:42:50.461923') - ↳ app/controllers/vouchers_controller.rb:27:in `create' -  (5.4ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:27:in `create' -Completed 201 Created in 16ms (Views: 0.5ms | ActiveRecord: 7.0ms | Allocations: 8166) - - -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:42:53 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.5ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.2ms | Allocations: 1964) - - - -NoMethodError (undefined method `errors=' for nil:NilClass): - -app/controllers/vouchers_controller.rb:24:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:43:09 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 4ms (ActiveRecord: 1.2ms | Allocations: 2435) - - - -NoMethodError (undefined method `save' for nil:NilClass): - -app/controllers/vouchers_controller.rb:25:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:46:57 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`voucher` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.8ms | Allocations: 1958) - - - -NoMethodError (undefined method `save' for nil:NilClass): - -app/controllers/vouchers_controller.rb:25:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=goblin" for ::1 at 2019-09-27 18:54:14 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"goblin"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:23) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:23:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'goblin' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -  (0.1ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 752ms (Views: 0.1ms | ActiveRecord: 1.2ms | Allocations: 770760) - - -Started POST "/vouchers?voucher=goblin&vouchee=promostarr" for ::1 at 2019-09-27 18:54:45 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"goblin", "vouchee"=>"promostarr"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:23) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:23:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -  (0.1ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 3030) - - -Started POST "/vouchers?voucher=goblin&vouchee=chaosgod" for ::1 at 2019-09-27 18:54:51 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"goblin", "vouchee"=>"chaosgod"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:23) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:23:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'chaosgod' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' - Voucher Create (0.3ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('goblin', 'chaosgod', '2019-09-27 16:54:51.775311', '2019-09-27 16:54:51.775311') - ↳ app/controllers/vouchers_controller.rb:23:in `create' -  (5.7ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 201 Created in 13ms (Views: 0.6ms | ActiveRecord: 6.3ms | Allocations: 3591) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-27 18:55:13 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:23) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:23:in `create' - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'rus64' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' - Voucher Create (0.3ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('simon', 'rus64', '2019-09-27 16:55:13.042264', '2019-09-27 16:55:13.042264') - ↳ app/controllers/vouchers_controller.rb:23:in `create' -  (4.2ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 201 Created in 14ms (Views: 0.8ms | ActiveRecord: 5.1ms | Allocations: 3564) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-27 18:57:06 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms | Allocations: 1202) - - - -NoMethodError (undefined method `save' for nil:NilClass): - -app/controllers/vouchers_controller.rb:25:in `create' -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-27 19:01:07 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.8ms | Allocations: 1201) - - - -NoMethodError (undefined method `save=' for nil:NilClass): - -app/controllers/vouchers_controller.rb:24:in `create' -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-27 19:01:21 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms | Allocations: 1204) - - - -NoMethodError (undefined method `save' for nil:NilClass): - -app/controllers/vouchers_controller.rb:27:in `create' -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-27 19:01:28 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.7ms | Allocations: 1203) - - - -NoMethodError (undefined method `save' for "NOPE":String): - -app/controllers/vouchers_controller.rb:27:in `create' -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 16:58:06 +0200 - -Mysql2::Error::ConnectionError (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)): - -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `connect' -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `initialize' -activerecord (6.0.0) lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' -activerecord (6.0.0) lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection' -activerecord (6.0.0) lib/active_record/connection_handling.rb:231:in `retrieve_connection' -activerecord (6.0.0) lib/active_record/connection_handling.rb:199:in `connection' -activerecord (6.0.0) lib/active_record/migration.rb:562:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' -activesupport (6.0.0) lib/active_support/callbacks.rb:101:in `run_callbacks' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 16:58:27 +0200 -  (3.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (3.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 103ms (Views: 0.2ms | ActiveRecord: 1.5ms | Allocations: 1824) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 16:59:02 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 111ms (Views: 0.1ms | ActiveRecord: 1.2ms | Allocations: 1207) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 16:59:49 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 101ms (Views: 0.2ms | ActiveRecord: 1.0ms | Allocations: 1295) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:00:05 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.7ms | Allocations: 1220) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:00:11 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 107ms (Views: 0.3ms | ActiveRecord: 1.0ms | Allocations: 1281) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:01:44 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 109ms (Views: 0.2ms | ActiveRecord: 0.7ms | Allocations: 1212) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:02:28 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 500 Internal Server Error in 102ms (Views: 0.1ms | ActiveRecord: 1.0ms | Allocations: 1305) - - - -AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): - -app/controllers/vouchers_controller.rb:35:in `create' -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:02:35 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 102ms (Views: 0.1ms | ActiveRecord: 0.7ms | Allocations: 1208) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:02:46 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 200 OK in 100ms (Views: 0.1ms | ActiveRecord: 0.7ms | Allocations: 1210) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:03:33 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:21:in `create' -Completed 422 Unprocessable Entity in 105ms (Views: 0.2ms | ActiveRecord: 0.9ms | Allocations: 1209) - - -Started GET "/vouchers" for ::1 at 2019-09-30 17:03:40 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.5ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 1.7ms | Allocations: 4886) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:04:52 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 123ms (Views: 0.1ms | ActiveRecord: 1.1ms | Allocations: 1210) - - -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:06:28 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:23: syntax error, unexpected tIDENTIFIER, expecting then or ';' or '\n' -...]) && whitelist.include? params[:voucher] -... ^~~~~~ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:31: else without rescue is useless - else - ^~~~ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:64: syntax error, unexpected end, expecting end-of-input): - -app/controllers/vouchers_controller.rb:23: syntax error, unexpected tIDENTIFIER, expecting then or ';' or '\n' -app/controllers/vouchers_controller.rb:31: else without rescue is useless -app/controllers/vouchers_controller.rb:64: syntax error, unexpected end, expecting end-of-input -app/controllers/vouchers_controller.rb:23: syntax error, unexpected tIDENTIFIER, expecting then or ';' or '\n' -app/controllers/vouchers_controller.rb:31: else without rescue is useless -app/controllers/vouchers_controller.rb:64: syntax error, unexpected end, expecting end-of-input -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:06:48 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:23: syntax error, unexpected tIDENTIFIER, expecting then or ';' or '\n' -...ucher]) && whitelist.in? params[:voucher] -... ^~~~~~ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:31: else without rescue is useless - else - ^~~~ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:64: syntax error, unexpected end, expecting end-of-input): - -app/controllers/vouchers_controller.rb:23: syntax error, unexpected tIDENTIFIER, expecting then or ';' or '\n' -app/controllers/vouchers_controller.rb:31: else without rescue is useless -app/controllers/vouchers_controller.rb:64: syntax error, unexpected end, expecting end-of-input -app/controllers/vouchers_controller.rb:23: syntax error, unexpected tIDENTIFIER, expecting then or ';' or '\n' -app/controllers/vouchers_controller.rb:31: else without rescue is useless -app/controllers/vouchers_controller.rb:64: syntax error, unexpected end, expecting end-of-input -Started POST "/vouchers?voucher=simon&vouchee=rus64" for ::1 at 2019-09-30 17:07:14 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"simon", "vouchee"=>"rus64"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 115ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 1209) - - -Started GET "/vouchers" for ::1 at 2019-09-30 17:07:18 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 1.2ms | Allocations: 4612) - - -Started POST "/vouchers?voucher=rus64&vouchee=simon" for ::1 at 2019-09-30 17:07:49 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"rus64", "vouchee"=>"simon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'rus64' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 110ms (Views: 0.1ms | ActiveRecord: 0.3ms | Allocations: 736) - - -Started POST "/vouchers?voucher=promostarr&vouchee=simon" for ::1 at 2019-09-30 17:08:07 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"simon"} - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 108ms (Views: 0.2ms | ActiveRecord: 0.4ms | Allocations: 734) - - -Started POST "/vouchers?voucher=promostarr&vouchee=simon" for ::1 at 2019-09-30 17:08:43 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"simon"} - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 500 Internal Server Error in 114ms (ActiveRecord: 0.8ms | Allocations: 1231) - - - -TypeError (no implicit conversion of false into String): - -app/controllers/vouchers_controller.rb:33:in `+' -app/controllers/vouchers_controller.rb:33:in `create' -Started POST "/vouchers?voucher=promostarr&vouchee=simon" for ::1 at 2019-09-30 17:08:59 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"promostarr", "vouchee"=>"simon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'promostarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 107ms (Views: 0.2ms | ActiveRecord: 0.8ms | Allocations: 1218) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:09:16 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 116ms (Views: 0.1ms | ActiveRecord: 0.3ms | Allocations: 738) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:09:34 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 108ms (Views: 0.2ms | ActiveRecord: 0.8ms | Allocations: 1230) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:09:41 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 111ms (Views: 0.2ms | ActiveRecord: 0.3ms | Allocations: 748) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:09:56 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.9ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'simon', '2019-09-30 15:09:57.086963', '2019-09-30 15:09:57.086963') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (2.2ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 120ms (Views: 0.6ms | ActiveRecord: 4.7ms | Allocations: 8349) - - -Started GET "/vouchers" for ::1 at 2019-09-30 17:10:09 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 1.4ms | Allocations: 4800) - - -Started GET "/vouchers" for ::1 at 2019-09-30 17:12:19 +0200 -Processing by VouchersController#index as HTML - Parameters: {"voucher"=>{}} - Voucher Load (0.2ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `index' -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 1.7ms | Allocations: 4286) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:12:22 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 105ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 118) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:12:31 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 102ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 175) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:12:41 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 103ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 235) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:12:48 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 109ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 176) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:13:38 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 104ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 180) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:14:17 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 104ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 191) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:14:43 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 109ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 190) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:15:01 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} -Completed 200 OK in 123ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 181) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:15:17 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'simon', '2019-09-30 15:15:17.717549', '2019-09-30 15:15:17.717549') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (2.7ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 119ms (Views: 1.0ms | ActiveRecord: 4.3ms | Allocations: 8144) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:15:27 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (0.1ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 422 Unprocessable Entity in 340ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 179083) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=simon" for ::1 at 2019-09-30 17:15:35 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"simon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'simon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (0.1ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 422 Unprocessable Entity in 114ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 3669) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Simon0519" for ::1 at 2019-09-30 17:16:04 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Simon0519"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Simon0519' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'Simon0519', '2019-09-30 15:16:04.308520', '2019-09-30 15:16:04.308520') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (4.2ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 119ms (Views: 0.4ms | ActiveRecord: 5.1ms | Allocations: 4202) - - -Started POST "/vouchers?voucher=Simon0519&vouchee=Spartan_Bacon" for ::1 at 2019-09-30 17:16:38 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"Simon0519", "vouchee"=>"Spartan_Bacon"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Simon0519' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Spartan_Bacon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.3ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('Simon0519', 'Spartan_Bacon', '2019-09-30 15:16:38.270472', '2019-09-30 15:16:38.270472') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (2.7ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 130ms (Views: 0.8ms | ActiveRecord: 3.8ms | Allocations: 4204) - - -Started POST "/vouchers?voucher=Simon0519&vouchee=Spartan_Bacon" for ::1 at 2019-09-30 17:18:23 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"Simon0519", "vouchee"=>"Spartan_Bacon"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Simon0519' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Spartan_Bacon' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (0.1ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 422 Unprocessable Entity in 108ms (Views: 0.2ms | ActiveRecord: 1.9ms | Allocations: 7578) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Lala_1" for ::1 at 2019-09-30 17:18:38 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Lala_1"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Lala_1' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.3ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'Lala_1', '2019-09-30 15:18:38.821110', '2019-09-30 15:18:38.821110') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (5.3ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 231ms (Views: 0.3ms | ActiveRecord: 6.3ms | Allocations: 4133) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Lala_1" for ::1 at 2019-09-30 17:18:46 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Lala_1"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Lala_1' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (0.2ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 422 Unprocessable Entity in 121ms (Views: 0.2ms | ActiveRecord: 1.8ms | Allocations: 7530) - - -Started POST "/vouchers?voucher=Lala_1&vouchee=Scootzar" for ::1 at 2019-09-30 17:19:18 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"Lala_1", "vouchee"=>"Scootzar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Lala_1' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Scootzar' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.3ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('Lala_1', 'Scootzar', '2019-09-30 15:19:18.600654', '2019-09-30 15:19:18.600654') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (3.5ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 489ms (Views: 0.3ms | ActiveRecord: 4.5ms | Allocations: 4133) - - -Started POST "/vouchers?voucher=Lala_1&vouchee=Scootzaar" for ::1 at 2019-09-30 17:19:55 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"Lala_1", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Lala_1' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:26) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Scootzaar' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('Lala_1', 'Scootzaar', '2019-09-30 15:19:55.623225', '2019-09-30 15:19:55.623225') - ↳ app/controllers/vouchers_controller.rb:26:in `create' -  (4.9ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:26:in `create' -Completed 201 Created in 224ms (Views: 0.3ms | ActiveRecord: 5.9ms | Allocations: 4114) - - -Started POST "/vouchers?voucher=Lala_1&vouchee=Scootzaar" for ::1 at 2019-09-30 19:27:58 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"Lala_1", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Lala_1' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.8ms | Allocations: 1838) - - - -TypeError (no implicit conversion of false into String): - -app/controllers/vouchers_controller.rb:34:in `+' -app/controllers/vouchers_controller.rb:34:in `create' -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 20:04:11 +0200 - -Mysql2::Error::ConnectionError (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)): - -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `connect' -mysql2 (0.5.2) lib/mysql2/client.rb:90:in `initialize' -activerecord (6.0.0) lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' -activerecord (6.0.0) lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection' -activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection' -activerecord (6.0.0) lib/active_record/connection_handling.rb:231:in `retrieve_connection' -activerecord (6.0.0) lib/active_record/connection_handling.rb:199:in `connection' -activerecord (6.0.0) lib/active_record/migration.rb:562:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' -activesupport (6.0.0) lib/active_support/callbacks.rb:101:in `run_callbacks' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 20:04:27 +0200 -  (3.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (3.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:23:in `create' -Completed 422 Unprocessable Entity in 132ms (Views: 0.2ms | ActiveRecord: 2.1ms | Allocations: 1850) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar&accepted=true" for ::1 at 2019-10-08 20:23:48 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar", "accepted"=>"true"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:25:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:36:in `create' -Completed 422 Unprocessable Entity in 100ms (Views: 0.2ms | ActiveRecord: 1.0ms | Allocations: 2375) - - -Started GET "/vouchers" for ::1 at 2019-10-08 20:24:01 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `zip' -Completed 200 OK in 86ms (Views: 0.2ms | ActiveRecord: 0.3ms | Allocations: 718) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 20:24:11 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.5ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:25:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:36:in `create' -Completed 422 Unprocessable Entity in 98ms (Views: 0.2ms | ActiveRecord: 0.5ms | Allocations: 1270) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 20:25:14 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:25:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:36:in `create' -Completed 422 Unprocessable Entity in 117ms (Views: 0.1ms | ActiveRecord: 0.3ms | Allocations: 1253) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 20:25:42 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:25:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:36:in `create' -Completed 422 Unprocessable Entity in 81ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 1743) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 20:26:29 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:25:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:36:in `create' -Completed 422 Unprocessable Entity in 101ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 2392) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:31:22 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} -Completed 500 Internal Server Error in 107ms (ActiveRecord: 0.0ms | Allocations: 199) - - - -ArgumentError (wrong number of arguments (given 1, expected 2)): - -app/controllers/vouchers_controller.rb:23:in `sub!' -app/controllers/vouchers_controller.rb:23:in `create' -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:31:37 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} -Completed 500 Internal Server Error in 111ms (ActiveRecord: 0.0ms | Allocations: 187) - - - -NoMethodError (undefined method `split' for nil:NilClass): - -app/controllers/vouchers_controller.rb:23:in `create' -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:32:10 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} -Completed 500 Internal Server Error in 119ms (ActiveRecord: 0.0ms | Allocations: 174) - - - -NoMethodError (undefined method `split' for nil:NilClass): - -app/controllers/vouchers_controller.rb:24:in `create' -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:32:37 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 117ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 2361) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:33:47 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 120ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 1746) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:34:19 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 124ms (Views: 0.1ms | ActiveRecord: 0.6ms | Allocations: 1740) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:34:25 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 122ms (Views: 0.2ms | ActiveRecord: 1.7ms | Allocations: 1774) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:34:33 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:25:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:36:in `create' -Completed 422 Unprocessable Entity in 110ms (Views: 0.1ms | ActiveRecord: 2.0ms | Allocations: 1772) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:34:46 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 112ms (Views: 0.2ms | ActiveRecord: 1.1ms | Allocations: 1763) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:34:54 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 125ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 1764) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:35:02 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 96ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 1740) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:35:08 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 106ms (Views: 0.1ms | ActiveRecord: 0.3ms | Allocations: 1281) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:37:55 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting => -...son: { 'Voucher is not valid.', ["whitelisted", params[:vouc... -... ^ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -...rams[:voucher].in?(whitelist)], ["Exists", Voucher.exists?(v... -... ^ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -...s?(vouchee: params[:voucher])], [whitelist.to_s]}, status: :... -... ^ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting end -...[:voucher])], [whitelist.to_s]}, status: :unprocessable_enti... -... ^): - -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting => -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting => -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting end -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:40:00 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting => -...son: { 'Voucher is not valid.', :whitelisted => params[:vouc... -... ^ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -...arams[:voucher].in?(whitelist), :exists => Voucher.exists?(v... -... ^ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -...ts?(vouchee: params[:voucher]), [whitelist.to_s]}.to_json, s... -... ^ -/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting end -...s[:voucher]), [whitelist.to_s]}.to_json, status: :unprocessa... -... ^): - -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting => -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting => -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected ',', expecting end -app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting end -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:41:01 +0200 - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting => -...s[:voucher]), [whitelist.to_s]}.to_json, status: :unprocessa... -... ^): - -app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting => -app/controllers/vouchers_controller.rb:37: syntax error, unexpected '}', expecting => -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:41:24 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 105ms (Views: 0.2ms | ActiveRecord: 0.9ms | Allocations: 1822) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:41:36 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 113ms (Views: 0.2ms | ActiveRecord: 0.7ms | Allocations: 1870) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:42:32 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} - Voucher Exists? (0.1ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' - CACHE Voucher Exists? (0.0ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:37:in `create' -Completed 422 Unprocessable Entity in 105ms (Views: 0.1ms | ActiveRecord: 0.5ms | Allocations: 1875) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:42:53 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.4ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `zip' -Completed 200 OK in 114ms (Views: 0.2ms | ActiveRecord: 0.4ms | Allocations: 715) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=Scootzaar" for ::1 at 2019-10-08 21:45:12 +0200 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"Scootzaar"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:29) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'Scootzaar' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Create (0.3ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'Scootzaar', '2019-10-08 19:45:12.912282', '2019-10-08 19:45:12.912282') - ↳ app/controllers/vouchers_controller.rb:29:in `create' -  (3.0ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:29:in `create' -Completed 201 Created in 230ms (Views: 0.5ms | ActiveRecord: 4.9ms | Allocations: 8547) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:45:20 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.4ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `zip' -Completed 200 OK in 124ms (Views: 0.5ms | ActiveRecord: 0.4ms | Allocations: 880) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=PromoStarr" for ::1 at 2019-10-08 21:45:28 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"PromoStarr"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:29) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'PromoStarr', '2019-10-08 19:45:28.706119', '2019-10-08 19:45:28.706119') - ↳ app/controllers/vouchers_controller.rb:29:in `create' -  (4.4ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:29:in `create' -Completed 201 Created in 265ms (Views: 0.5ms | ActiveRecord: 5.0ms | Allocations: 3544) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:45:32 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `zip' -Completed 200 OK in 116ms (Views: 1.0ms | ActiveRecord: 0.3ms | Allocations: 957) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=KittyCatInBlue" for ::1 at 2019-10-08 21:45:52 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"KittyCatInBlue"} - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:29) -  (0.1ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'KittyCatInBlue' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Create (0.2ms) INSERT INTO `vouchers` (`voucher`, `vouchee`, `created_at`, `updated_at`) VALUES ('PromoStarr', 'KittyCatInBlue', '2019-10-08 19:45:53.145236', '2019-10-08 19:45:53.145236') - ↳ app/controllers/vouchers_controller.rb:29:in `create' -  (2.9ms) COMMIT - ↳ app/controllers/vouchers_controller.rb:29:in `create' -Completed 201 Created in 268ms (Views: 0.4ms | ActiveRecord: 5.2ms | Allocations: 8073) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:45:56 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:9:in `zip' -Completed 200 OK in 119ms (Views: 0.5ms | ActiveRecord: 0.3ms | Allocations: 1073) - - -Started POST "/vouchers?voucher=PromoStarr&vouchee=KittyCatInBlue" for ::1 at 2019-10-08 21:46:28 +0200 -Processing by VouchersController#create as HTML - Parameters: {"voucher"=>"PromoStarr", "vouchee"=>"KittyCatInBlue"} - Voucher Exists? (0.2ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'PromoStarr' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:26:in `create' -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :vouchee attribute in Voucher model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:29) -  (0.2ms) BEGIN - ↳ app/controllers/vouchers_controller.rb:29:in `create' - Voucher Exists? (0.4ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = BINARY 'KittyCatInBlue' LIMIT 1 - ↳ app/controllers/vouchers_controller.rb:29:in `create' -  (0.1ms) ROLLBACK - ↳ app/controllers/vouchers_controller.rb:29:in `create' -Completed 422 Unprocessable Entity in 274ms (Views: 0.1ms | ActiveRecord: 2.3ms | Allocations: 182961) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:52:20 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 134ms (Views: 0.1ms | ActiveRecord: 1.0ms | Allocations: 6053) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:52:27 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.4ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 111ms (Views: 0.2ms | ActiveRecord: 1.3ms | Allocations: 5490) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:52:51 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 130ms (Views: 0.2ms | ActiveRecord: 1.4ms | Allocations: 5528) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:53:04 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 102ms (Views: 0.1ms | ActiveRecord: 1.1ms | Allocations: 5483) - - -Started GET "/vouchers" for ::1 at 2019-10-08 21:57:13 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 111ms (Views: 0.1ms | ActiveRecord: 1.1ms | Allocations: 6058) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:17:10 +0200 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* -Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms | Allocations: 768) - - - -NoMethodError (undefined method `gsub' for true:TrueClass): - -app/controllers/vouchers_controller.rb:8:in `index' -Started GET "/vouchers" for ::1 at 2019-10-08 22:17:16 +0200 -Processing by VouchersController#index as */* -Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms | Allocations: 125) - - - -NoMethodError (undefined method `gsub' for true:TrueClass): - -app/controllers/vouchers_controller.rb:8:in `index' -Started GET "/vouchers" for ::1 at 2019-10-08 22:18:54 +0200 -Processing by VouchersController#index as */* -Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms | Allocations: 719) - - - -NoMethodError (undefined method `gsub' for true:TrueClass): - -app/controllers/vouchers_controller.rb:9:in `index' -Started GET "/vouchers" for ::1 at 2019-10-08 22:19:17 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 122ms (Views: 0.2ms | ActiveRecord: 1.4ms | Allocations: 6017) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:24:13 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* -Completed 500 Internal Server Error in 127ms (ActiveRecord: 0.0ms | Allocations: 782) - - - -NoMethodError (undefined method `gsub' for true:TrueClass): - -app/controllers/vouchers_controller.rb:9:in `index' -Started GET "/vouchers" for ::1 at 2019-10-08 22:24:29 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.5ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:11:in `index' -Completed 200 OK in 129ms (Views: 0.2ms | ActiveRecord: 2.1ms | Allocations: 5932) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:24:54 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.4ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:11:in `index' -Completed 200 OK in 130ms (Views: 0.2ms | ActiveRecord: 2.0ms | Allocations: 5405) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:25:26 +0200 -Processing by VouchersController#index as */* -Started GET "/vouchers" for ::1 at 2019-10-08 22:25:38 +0200 -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* -Started GET "/vouchers" for ::1 at 2019-10-08 22:28:12 +0200 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC - -SyntaxError (/media/Linux-Shared/dev/gitlab.com/vereto-api/app/controllers/vouchers_controller.rb:8: syntax error, unexpected unary-, expecting do or '{' or '(' -...hitelist = IO.popen(mcrcon -c -H mine.vereto.net -p #{ENV["M... -... ^): - -app/controllers/vouchers_controller.rb:8: syntax error, unexpected unary-, expecting do or '{' or '(' -app/controllers/vouchers_controller.rb:8: syntax error, unexpected unary-, expecting do or '{' or '(' -Started GET "/vouchers" for ::1 at 2019-10-08 22:30:10 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 1.5ms | Allocations: 5989) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:33:42 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 1.1ms | Allocations: 5408) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:33:54 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.4ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.4ms | Allocations: 1153) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:34:22 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 1.7ms | Allocations: 5429) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:34:36 +0200 -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 1.0ms | Allocations: 5970) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:35:04 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.3ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 130ms (Views: 0.1ms | ActiveRecord: 1.0ms | Allocations: 5408) - - -Started GET "/vouchers" for ::1 at 2019-10-08 22:35:20 +0200 -Processing by VouchersController#index as */* - Voucher Load (0.4ms) SELECT `vouchers`.* FROM `vouchers` - ↳ app/controllers/vouchers_controller.rb:10:in `index' -Completed 200 OK in 122ms (Views: 0.2ms | ActiveRecord: 1.7ms | Allocations: 5452) - - -  (0.4ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) CREATE DATABASE `vereto-api-dev` DEFAULT CHARACTER SET `utf8mb4` -  (0.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) CREATE DATABASE `vereto-api-test` DEFAULT CHARACTER SET `utf8mb4` -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (11.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY) -  (2.3ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL) -  (0.1ms) SELECT GET_LOCK('1433072424460498080', 0) -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to CreateUsers (20180216131546) -  (11.5ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `email` varchar(255), `password_digest` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB -  (0.2ms) BEGIN - primary::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180216131546') -  (1.0ms) COMMIT -Migrating to CreateArticles (20180219100642) -  (3.0ms) CREATE TABLE `articles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `title` varchar(255), `post` text, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_articles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3d31dad1cc` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.3ms) BEGIN - primary::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180219100642') -  (0.3ms) COMMIT -Migrating to CreateComments (20180222154430) -  (6.4ms) CREATE TABLE `comments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `content` text, `article_id` bigint, `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_comments_on_article_id` (`article_id`), INDEX `index_comments_on_user_id` (`user_id`), CONSTRAINT `fk_rails_3bf61a60d3` -FOREIGN KEY (`article_id`) - REFERENCES `articles` (`id`) -, CONSTRAINT `fk_rails_03de2dc08c` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) ENGINE=InnoDB -  (0.2ms) BEGIN - primary::SchemaMigration Create (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20180222154430') -  (1.4ms) COMMIT -Migrating to CreateUserProfiles (20190214142704) -  (4.1ms) CREATE TABLE `user_profiles` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `avatar` varchar(255), `tagline` varchar(255), `dob` date, `role` varchar(255), `user_id` bigint, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_user_profiles_on_user_id` (`user_id`), CONSTRAINT `fk_rails_87a6352e58` -FOREIGN KEY (`user_id`) - REFERENCES `users` (`id`) -) -  (0.2ms) BEGIN - primary::SchemaMigration Create (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190214142704') -  (0.6ms) COMMIT -Migrating to CreateVouchers (20190927154659) -  (2.5ms) CREATE TABLE `vouchers` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `voucher` varchar(255), `vouchee` varchar(255), `accepted` tinyint(1), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL) -  (0.2ms) BEGIN - primary::SchemaMigration Create (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20190927154659') -  (1.1ms) COMMIT - ActiveRecord::InternalMetadata Load (1.0ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.2ms) BEGIN - ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2020-01-12 17:43:50.689951', '2020-01-12 17:43:50.689951') -  (1.7ms) COMMIT -  (1.2ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:44:49 +0100 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' -Completed 401 Unauthorized in 16ms (Views: 0.5ms | ActiveRecord: 1.0ms | Allocations: 5898) - - -Started GET "/" for ::1 at 2020-01-12 18:50:57 +0100 -  (8.9ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -Processing by Rails::WelcomeController#index as */* - Rendering /home/baron/.rbenv/versions/2.6.4/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb - Rendered /home/baron/.rbenv/versions/2.6.4/lib/ruby/gems/2.6.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 16.4ms | Allocations: 579) -Completed 200 OK in 44ms (Views: 27.4ms | ActiveRecord: 0.0ms | Allocations: 3160) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:52:42 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (14.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' -Completed 401 Unauthorized in 22ms (Views: 0.3ms | ActiveRecord: 14.2ms | Allocations: 819) - - -Started POST "/register?email=conor@manusit.com&name=conor&password=[FILTERED]&password_confirmation=[FILTERED]" for ::1 at 2020-01-12 18:54:54 +0100 -Processing by UsersController#create as */* - Parameters: {"email"=>"conor@manusit.com", "name"=>"conor", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} -DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. To continue case sensitive comparison on the :email attribute in User model, pass `case_sensitive: true` option explicitly to the uniqueness validator. (called from create at /home/baron/dev/gitlab.com/spengreb/vereto-api/app/controllers/users_controller.rb:8) -  (1.5ms) BEGIN - ↳ app/controllers/users_controller.rb:8:in `create' - User Exists? (1.4ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'conor@manusit.com' LIMIT 1 - ↳ app/controllers/users_controller.rb:8:in `create' - User Create (5.8ms) INSERT INTO `users` (`name`, `email`, `password_digest`, `created_at`, `updated_at`) VALUES ('conor', 'conor@manusit.com', '$2a$12$dMKD0xTOTw1Nrsey/bKjHehcRGntSFdQKGdGtSb4d4081nDXTvGge', '2020-01-12 17:54:54', '2020-01-12 17:54:54') - ↳ app/controllers/users_controller.rb:8:in `create' -  (14.2ms) COMMIT - ↳ app/controllers/users_controller.rb:8:in `create' - User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Completed 201 Created in 910ms (Views: 0.2ms | ActiveRecord: 32.6ms | Allocations: 9181) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:55:03 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (7.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 573ms (Views: 0.5ms | ActiveRecord: 7.4ms | Allocations: 2073) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:55:42 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 562ms (Views: 0.5ms | ActiveRecord: 1.3ms | Allocations: 2055) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:58:32 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"sdf", "password"=>"[FILTERED]", "authentication"=>{"email"=>"sdf", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (23.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'sdf' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' -Completed 401 Unauthorized in 32ms (Views: 1.4ms | ActiveRecord: 23.8ms | Allocations: 804) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:58:57 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 566ms (Views: 0.7ms | ActiveRecord: 0.5ms | Allocations: 2071) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 18:59:08 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 582ms (Views: 0.4ms | ActiveRecord: 1.5ms | Allocations: 2056) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 19:02:09 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (10.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 610ms (Views: 1.0ms | ActiveRecord: 10.7ms | Allocations: 2060) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 20:36:21 +0100 -  (11.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (3.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (5.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 643ms (Views: 0.8ms | ActiveRecord: 15.5ms | Allocations: 10096) - - -  (11.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.3ms) SELECT GET_LOCK('1433072424460498080', 0) -  (5.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Migrating to AddAdminToUsers (20200112200527) -  (37.4ms) ALTER TABLE `users` ADD `admin` tinyint(1) -  (0.1ms) BEGIN - primary::SchemaMigration Create (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20200112200527') -  (5.5ms) COMMIT - ActiveRecord::InternalMetadata Load (1.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 -  (0.6ms) SELECT RELEASE_LOCK('1433072424460498080') -  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Started GET "/users" for ::1 at 2020-01-12 21:07:20 +0100 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (1.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC - -AbstractController::ActionNotFound (The action 'index' could not be found for UsersController): - -actionpack (6.0.0) lib/abstract_controller/base.rb:131:in `process' -actionpack (6.0.0) lib/action_controller/metal.rb:191:in `dispatch' -actionpack (6.0.0) lib/action_controller/metal.rb:252:in `dispatch' -actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:51:in `dispatch' -actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:33:in `serve' -actionpack (6.0.0) lib/action_dispatch/journey/router.rb:49:in `block in serve' -actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in `each' -actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in `serve' -actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:837:in `call' -rack (2.0.7) lib/rack/etag.rb:25:in `call' -rack (2.0.7) lib/rack/conditional_get.rb:25:in `call' -rack (2.0.7) lib/rack/head.rb:12:in `call' -activerecord (6.0.0) lib/active_record/migration.rb:567:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' -activesupport (6.0.0) lib/active_support/callbacks.rb:101:in `run_callbacks' -actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started GET "/user" for ::1 at 2020-01-12 21:10:15 +0100 - -ActionController::RoutingError (No route matches [GET] "/user"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started GET "/user/1" for ::1 at 2020-01-12 21:10:20 +0100 - -ActionController::RoutingError (No route matches [GET] "/user/1"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -Started GET "/user/1" for ::1 at 2020-01-12 21:10:48 +0100 - -ActionController::RoutingError (No route matches [GET] "/user/1"): - -actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' -railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' -activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' -railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' -rack (2.0.7) lib/rack/runtime.rb:22:in `call' -activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' -rack (2.0.7) lib/rack/sendfile.rb:111:in `call' -actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' -rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' -railties (6.0.0) lib/rails/engine.rb:526:in `call' -puma (3.12.1) lib/puma/configuration.rb:227:in `call' -puma (3.12.1) lib/puma/server.rb:660:in `handle_request' -puma (3.12.1) lib/puma/server.rb:474:in `process_client' -puma (3.12.1) lib/puma/server.rb:334:in `block in run' -puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 - User Load (0.5ms) SELECT `users`.* FROM `users` LIMIT 11 - User Load (0.6ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:18:30 +0100 -  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 -  (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 609ms (Views: 0.7ms | ActiveRecord: 2.2ms | Allocations: 10799) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:21:11 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 593ms (Views: 0.5ms | ActiveRecord: 0.7ms | Allocations: 2084) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:21:40 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (2.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 593ms (Views: 0.6ms | ActiveRecord: 3.0ms | Allocations: 2084) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:22:03 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.9ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 596ms (Views: 0.7ms | ActiveRecord: 2.0ms | Allocations: 2080) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:22:46 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 589ms (Views: 0.5ms | ActiveRecord: 1.0ms | Allocations: 2068) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:24:10 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 580ms (Views: 0.6ms | ActiveRecord: 1.2ms | Allocations: 2064) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:25:50 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 582ms (Views: 0.6ms | ActiveRecord: 0.6ms | Allocations: 2064) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:27:36 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 577ms (Views: 0.3ms | ActiveRecord: 1.3ms | Allocations: 2068) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:27:52 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 601ms (Views: 0.5ms | ActiveRecord: 2.1ms | Allocations: 2068) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:28:51 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 599ms (Views: 0.6ms | ActiveRecord: 0.7ms | Allocations: 2069) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:29:34 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 578ms (Views: 0.9ms | ActiveRecord: 1.1ms | Allocations: 2065) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:30:00 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 577ms (Views: 0.6ms | ActiveRecord: 0.9ms | Allocations: 2064) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:30:21 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 579ms (Views: 0.5ms | ActiveRecord: 0.6ms | Allocations: 2083) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:30:46 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (2.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 583ms (Views: 0.5ms | ActiveRecord: 2.0ms | Allocations: 2065) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:31:07 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 571ms (Views: 0.6ms | ActiveRecord: 0.7ms | Allocations: 2067) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:32:18 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 568ms (Views: 0.4ms | ActiveRecord: 0.4ms | Allocations: 2065) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:32:50 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 573ms (Views: 0.5ms | ActiveRecord: 0.7ms | Allocations: 2064) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:32:58 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 599ms (Views: 0.5ms | ActiveRecord: 0.7ms | Allocations: 2065) - - -Started POST "/login" for 127.0.0.1 at 2020-01-12 21:33:14 +0100 -Processing by AuthenticationController#authenticate as HTML - Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} -Unpermitted parameter: :authentication -Unpermitted parameter: :authentication - User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 - ↳ app/auth/authenticate_user.rb:17:in `user' - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/auth/authenticate_user.rb:17:in `user' -Unpermitted parameter: :authentication - CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] - ↳ app/controllers/authentication_controller.rb:7:in `authenticate' -Completed 200 OK in 567ms (Views: 0.6ms | ActiveRecord: 1.2ms | Allocations: 2065) - -