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
Set config.active_record.belongs_to_required_by_default = true
Christophe Bliard1ec2a5e70b40
diff --git a/config/initializers/new_framework_defaults_5_0.rb b/config/initializers/new_framework_defaults_5_0.rbindex 1fe47da18f8..966c630852d 100644--- a/config/initializers/new_framework_defaults_5_0.rb+++ b/config/initializers/new_framework_defaults_5_0.rb@@ -27,7 +27,7 @@# https://guides.rubyonrails.org/configuring.html#config-active-record-belongs-to-required-by-default# Require `belongs_to` associations by default. Previous versions had false.# Rails 5.0+ default is true.-# Rails.application.config.active_record.belongs_to_required_by_default = true+Rails.application.config.active_record.belongs_to_required_by_default = true# https://guides.rubyonrails.org/configuring.html#config-ssl-options# Configure SSL options to enable HSTS with subdomains. Previous versions had