We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Suppose I have a Hash setting with nested values. Saving a nested value won't cause settings to be persisted
MySettings.blacklist_by_type # => { abuse: [], hack_attempt: [] } MySettings.blacklist_by_type[:abuse] = my_blacklist #=> MySettings are not persisted !
I suggest making a persist or save method available as class method MySettings.save
persist
save
MySettings.save
The text was updated successfully, but these errors were encountered:
Expose a save method to persist changed settings
da9b9a2
For marten#7
No branches or pull requests
Suppose I have a Hash setting with nested values. Saving a nested value won't cause settings to be persisted
I suggest making a
persist
orsave
method available as class methodMySettings.save
The text was updated successfully, but these errors were encountered: