Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial setting override #46

Open
sweatpantsninja opened this issue Feb 8, 2013 · 1 comment
Open

Partial setting override #46

sweatpantsninja opened this issue Feb 8, 2013 · 1 comment

Comments

@sweatpantsninja
Copy link

I have the following nested settings:
https://gist.github.com/sweatpantsninja/4741147

Settings.cloudant.facebook_database should always be "facebook_data", but in development, I get Settingslogic::MissingSetting: Missing setting 'facebook_database' in 'cloudant' section

It seems as if it overrides the nested hash entirely, rather than merging it.

@pavolzbell
Copy link

Yes the hash is overridden instead of being merged and I found that to be a big problem too. @binarylogic please look closely at this issue and implement some kind of deep hash merging. BTW we are not the first who experienced this, look at #21 #16 (actually provides partial solution to this problem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants