Open JoJoDeveloping opened 2 years ago
Updating ruby apparently breaks things. See more here: https://github.com/ruby/psych/issues/503
There are two possible solutions. One is to change YAML::load to YAML::unsafe_load. The better option is to add this to the ruby config:
YAML::load
YAML::unsafe_load
config.active_record.yaml_column_permitted_classes = [Poll, /* maybe more */]
Unfortunately, I have no idea where the "Ruby config" would even be located for dudle. Hence I can't really offer a fix.
I replaced all (three) occurences of YAML::load by YAML::unsafe_load and can confirm this is suitable as a workaround. Alas, I am completely illiterate in Ruby, so no idea about that config file as well.
Updating ruby apparently breaks things. See more here: https://github.com/ruby/psych/issues/503
There are two possible solutions. One is to change
YAML::load
toYAML::unsafe_load
. The better option is to add this to the ruby config:Unfortunately, I have no idea where the "Ruby config" would even be located for dudle. Hence I can't really offer a fix.