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

Compat with newer Psych: Use safe_load with permitted_classes Poll and TimePollHead #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xtaran
Copy link

@xtaran xtaran commented Oct 9, 2023

Fixes #145, fixes #151

Based on the discussion in #145, @dl8dtl's initial patch suggestion and reading https://docs.ruby-lang.org/en/master/Psych.html to understand the remaining open question by @JoJoDeveloping where the config needs to go.

…d TimePollHead

Fixes kellerben#145, fixes kellerben#151

Based on the discussion in kellerben#145, @dl8dtl's initial patch suggestion
and reading https://docs.ruby-lang.org/en/master/Psych.html to
understand the remaining open question by @JoJoDeveloping where the
config needs to go.
@bmillwood
Copy link

I independently figured this out before finding this PR and needed a few more classes to get things working, not sure why the discrepancy: dfe3f10

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.

Error when creating new Poll Tried to load unspecified class: Poll (Psych::DisallowedClass):
2 participants