diff --git a/app/services/orientdb_service.rb b/app/services/orientdb_service.rb index 7661ce7446d68e8e4b0b3749c58fde5f09cb64d0..d795253085c33af8cd716b2865de2d5b121cf065 100644 --- a/app/services/orientdb_service.rb +++ b/app/services/orientdb_service.rb @@ -14,7 +14,7 @@ class OrientdbService orientdb_configs = YAML.load_file Rails.root.join('config').to_s.concat('/orientdb.yml') configs = orientdb_configs.fetch(Rails.env) - {host: configs[:host], database: configs[:database], user: configs[:user], password: configs[:password], port: configs[:port], ssl: configs[:ssl]} + {host: configs['host'], database: configs['database'], user: configs['user'], password: configs['password'], port: configs['port'], ssl: configs['ssl']} end end end