mirror of
https://github.com/openSUSE/osem.git
synced 2026-02-02 02:01:34 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user