1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
dixpac 2017-07-09 14:53:36 +02:00
parent 01109dc003
commit 8561d679e8

View file

@ -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)