OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#57388] work with symbolized keys where possible
Tobias Dillmann97222c303d39
diff --git a/app/models/export_setting.rb b/app/models/export_setting.rbindex ae18d027c9c..58bdbf12c60 100644--- a/app/models/export_setting.rb+++ b/app/models/export_setting.rb@@ -39,6 +39,16 @@ class ExportSetting < ApplicationRecordvalidate :unique_format_per_query+ def settings+ # Read idiomatic symbol keys for JSONB column+ super.symbolize_keys+ end++ def settings=(value)+ # Provide database with string keys+ super(value.stringify_keys)+ end+privatedef unique_format_per_query