forked from soveran/cuba
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to look up non-existing settings in parent classes (see sover…
…an#21) This fixes an issue where settings added to Cuba.settings *after* inheriting from `Cuba` are not picked up by the child classes. The issue is described in issue Settings are lookup up in the settings Hash of the parent class if a setting does not exist using `Hash#default_proc`. The settings Hash is still deepcloned, so they're still overridable.
- Loading branch information
1 parent
40b21c8
commit 6ddd7f9
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters