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'