From b2e8ffee1292e38e212b6137315673449ff1baa2 Mon Sep 17 00:00:00 2001 From: Naoya Matayoshi Date: Mon, 2 Jan 2023 17:47:02 +0900 Subject: [PATCH] update configurations to match receiving symbol fix #14 https://github.com/rails/rails/pull/37185 --- lib/dumper/database/postgresql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dumper/database/postgresql.rb b/lib/dumper/database/postgresql.rb index 6f91e09..4481df8 100644 --- a/lib/dumper/database/postgresql.rb +++ b/lib/dumper/database/postgresql.rb @@ -24,7 +24,7 @@ def set_config return unless defined?(ActiveRecord::Base) && ActiveRecord::Base.configurations && (config = ActiveRecord::Base.configurations[rails_env]) && - (config['adapter'] == 'postgresql') + (config[:adapter] == 'postgresql') @config = { :host => config['host'],