From 8561d679e846c5c36ae76604d42f6d06933e1150 Mon Sep 17 00:00:00 2001 From: dixpac Date: Sun, 9 Jul 2017 14:53:36 +0200 Subject: [PATCH] Symbolize all keys inside configuration nested hash Since configuration is a nested hash we need to symbolize all keys of the hash. Othervise fetcing will fail on start --- lib/active_storage/service/configurator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/active_storage/service/configurator.rb b/lib/active_storage/service/configurator.rb index 2159c80df9..00ae24d251 100644 --- a/lib/active_storage/service/configurator.rb +++ b/lib/active_storage/service/configurator.rb @@ -6,7 +6,7 @@ class ActiveStorage::Service::Configurator #:nodoc: end def initialize(configurations) - @configurations = configurations.symbolize_keys + @configurations = configurations.deep_symbolize_keys end def build(service_name)