From 6ace6bbb523e9f5c02adbf51b618342f4d7fe3af Mon Sep 17 00:00:00 2001 From: c_meyer <998475a2-a9e1-483a-a46a-8f34462b7f5b@localhost> Date: Wed, 24 May 2023 19:13:47 +0200 Subject: [PATCH] Behebt NULL key-Datenbank-Problem Integriert den Fix zum Aufruf von /config/initializers/abstract_mysql2_adapter https://stackoverflow.com/questions/37315546/uninitialized-constant-activerecordconnectionadaptersmysql2adapternative-d --- config/environment.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environment.rb b/config/environment.rb index 2eacd85..0b343cf 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -19,3 +19,5 @@ end # Initialize the rails application Thingspeak::Application.initialize! + +require File.expand_path('../../config/initializers/abstract_mysql2_adapter', __FILE__) \ No newline at end of file