Skip to content
Snippets Groups Projects
Commit e72cb113 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

fixing hash keys

parent 68bbdcf6
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ class OrientdbService ...@@ -14,7 +14,7 @@ class OrientdbService
orientdb_configs = YAML.load_file Rails.root.join('config').to_s.concat('/orientdb.yml') orientdb_configs = YAML.load_file Rails.root.join('config').to_s.concat('/orientdb.yml')
configs = orientdb_configs.fetch(Rails.env) 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 end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment