Commit e4b72f8
committed
Move encryption config to application.rb so it's set earlier
Upgrading flipper caused the tests to break because when it triggered the application record encyption settings to be initialized before they were configured.
Rails suggests putting this config into the application.rb[1], which ensures it is loaded earlier and avoids this problem.
I scan the flipper changes and it's not obvious what caused this, but it's likely to do with changes in interaction with active record.
Alternatively we could set flipper to 'require: false',.
[1] - https://guides.rubyonrails.org/active_record_encryption.html1 parent d6d98e5 commit e4b72f8
2 files changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
This file was deleted.
0 commit comments