From c546896dc758ed0da0a8e5afe638638dcbe0b737 Mon Sep 17 00:00:00 2001 From: spengreb Date: Mon, 7 Oct 2019 12:46:17 +0200 Subject: [PATCH] Update cap, rails and ruby version --- Capfile | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- log/development.log | 15 +++++++++++++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Capfile b/Capfile index bada982..fa23434 100644 --- a/Capfile +++ b/Capfile @@ -10,7 +10,7 @@ require "capistrano/rbenv" require "capistrano/bundler" set :rbenv_type, :user -set :rbenv_ruby, '2.4.0' +set :rbenv_ruby, '2.6.4' set :ssh_options, {:forward_agent => true} # Load the SCM plugin appropriate to your project: # diff --git a/Gemfile b/Gemfile index 1cf82fa..9676835 100644 --- a/Gemfile +++ b/Gemfile @@ -25,7 +25,7 @@ gem 'rack-cors', :require => 'rack/cors' gem 'fast_jsonapi' gem 'will_paginate' gem 'capistrano', '3.10.1' -gem 'capistrano-rails', '~> 1.2' +gem 'capistrano-rails', '~> 1.4' gem 'capistrano-passenger', '~> 0.2.0' gem 'capistrano-rbenv' gem 'capistrano-bundler' diff --git a/Gemfile.lock b/Gemfile.lock index 5a9a214..e899eb9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -214,7 +214,7 @@ DEPENDENCIES capistrano (= 3.10.1) capistrano-bundler capistrano-passenger (~> 0.2.0) - capistrano-rails (~> 1.2) + capistrano-rails (~> 1.4) capistrano-rbenv database_cleaner ed25519 diff --git a/log/development.log b/log/development.log index 1d6b10d..43a3783 100644 --- a/log/development.log +++ b/log/development.log @@ -1868,3 +1868,18 @@ DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive 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'