Disable ActiveRecord.belongs_to_required_by_default

This is a nightmare currently, no one ever thought about
this in our data model.
This commit is contained in:
Henne Vogelsang
2022-02-14 19:01:50 +01:00
parent 85dae98a76
commit 0eb7496502

View File

@@ -33,5 +33,7 @@ module Osem
config.active_support.escape_html_entities_in_json = true
# Don't generate system test files.
config.generators.system_tests = nil
# This is a nightmare with our current data model, no one ever thought about this.
config.active_record.belongs_to_required_by_default = false
end
end