Skip to content

Commit

Permalink
Now do it recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
“Lukas committed May 15, 2023
1 parent 04d5c7e commit dc8324c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scheemer/params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def params_fallbacks
module InstanceMethods
def initialize(params, data = {})
@params = Fallbacker.apply(
params.to_h.transform_keys(&:to_sym),
params.to_h.transform_keys(recursive: true, &:to_sym),
self.class.params_fallbacks
)

Expand Down

0 comments on commit dc8324c

Please sign in to comment.