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
Enable rails 7.1 config to raise on assigning readonly attribute
Dombi Attilae3767509893c
diff --git a/config/application.rb b/config/application.rbindex 31298b2ed02..46677fd3564 100644--- a/config/application.rb+++ b/config/application.rb@@ -75,6 +75,14 @@ module OpenProject# set to true.config.active_record.belongs_to_required_by_default = false+ ###+ # Enable raising on assignment to attr_readonly attributes. The previous+ # behavior would allow assignment but silently not persist changes to the+ # database.+ # This is a rails 7.1 behaviour.+ #+++ config.active_record.raise_on_assign_to_attr_readonly = true+# Sets up logging for STDOUT and configures the default logger formatter# so that all environments receive level and timestamp information#