Skip to content

Add config_alias to configuration_class#36

Merged
bdurand merged 2 commits intobdurand:mainfrom
jeremyjpark:add-alias-to-config
Mar 7, 2026
Merged

Add config_alias to configuration_class#36
bdurand merged 2 commits intobdurand:mainfrom
jeremyjpark:add-alias-to-config

Conversation

@jeremyjpark
Copy link
Contributor

When you need to reference multiple configurations and use the default 'config' helper method, they end up clobbering each other. This change should allow the usage of a different helper method.

class NewClass
    extend UltraSettings::ConfigHelper

    configuration_class TestConfiguration, config_alias: test_config
    
    ...
    test_config.foo

jeremyjpark and others added 2 commits February 24, 2026 15:59
When you need to reference multiple configurations and use the default 'config' helper method, they end up clobbering each other. This change should allow the usage of a different helper method.
@bdurand bdurand merged commit 7b96290 into bdurand:main Mar 7, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants