Merge commit '9d39b111f1' into kb_migration

This commit is contained in:
KMY 2023-04-07 21:46:00 +09:00
commit 1387bc6d57
68 changed files with 966 additions and 443 deletions

View file

@ -54,7 +54,7 @@ class MoveUserSettings < ActiveRecord::Migration[6.1]
end
def value
YAML.safe_load(self[:value], permitted_classes: [ActiveSupport::HashWithIndifferentAccess]) if self[:value].present?
YAML.safe_load(self[:value], permitted_classes: [ActiveSupport::HashWithIndifferentAccess, Symbol]) if self[:value].present?
end
end