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

Allow for falsey values to be set in config #133

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bschrag620
Copy link

@bschrag620 bschrag620 commented Feb 13, 2025

When setting the config from an initializer a Rails.application.reloader.to_prepare block, falsey config values are not honored. The audits1984 config assignment is structured slightly differently, which has been done since the code was originally added.

By aligning how the config values are set in config#set_from to match how audits1984 does it, falsey values can now be properly assigned.

Fixes #134

@bschrag620 bschrag620 marked this pull request as ready for review February 13, 2025 18:15
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.

falsey config values are not persisted
1 participant