Skip to content

Commit

Permalink
minor config cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Jun 20, 2024
1 parent 6227c8c commit 52bebb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class Application < Rails::Application
config.exceptions_app = self.routes

Rails.application.config.generators { |g| g.orm :active_record, primary_key_type: :uuid }
Rails.application.config.filter_parameters += [
:encryption_key, :document, :parameters, :signing_certificate, :signed_data, :data_to_sign_structure, :registration_id, :pushkey
]

config.active_record.encryption.primary_key = ENV['ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY']
config.active_record.encryption.deterministic_key = ENV['ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY']
Expand Down

0 comments on commit 52bebb0

Please sign in to comment.