Skip to content

Commit 5ffd7d2

Browse files
committed
fix 500s
1 parent f29e582 commit 5ffd7d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/application.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ class Application < Rails::Application
1111
# Initialize configuration defaults for originally generated Rails version.
1212
config.load_defaults 8.0
1313

14+
config.active_record.encryption.primary_key = ENV["ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY"]
15+
config.active_record.encryption.deterministic_key = ENV["ACTIVE_RECORD_E NCRYPTION_DETERMINISTIC_KEY"]
16+
config.active_record.encryption.key_derivation_salt = ENV["ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT"]
17+
1418
# Please, add to the `ignore` list any other `lib` subdirectories that do
1519
# not contain `.rb` files, or that should not be reloaded or eager loaded.
1620
# Common ones are `templates`, `generators`, or `middleware`, for example.

0 commit comments

Comments
 (0)