Skip to content

Commit

Permalink
Fix user settings migration script failing in some cases (#24453)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Apr 7, 2023
1 parent 3d8bd09 commit 369f239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20230215074423_move_user_settings.rb
Expand Up @@ -52,7 +52,7 @@ def var
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

Expand Down

0 comments on commit 369f239

Please sign in to comment.