Skip to content

Make yettings load before initializers? #7

@dpehrson

Description

@dpehrson

Is it possible to make yettings load before initializers so that their values may be used in there?

I attempted to fork the repo and change the config.before_configuration to config.before_initialize but it didn't work, which may very well just be because I am not familiar with Railties.

Is this something that would be doable?

My use case is that I want to put the api keys used by devise's devise.rb initializer into a yettings.yml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions