mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00: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:
parent
85dae98a76
commit
0eb7496502
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue