From 6ed48cee8f91d2790f55e2b1c7128a95364fe024 Mon Sep 17 00:00:00 2001 From: Felix Eckhofer <felix@eckhofer.com> Date: Sat, 21 Dec 2024 02:52:48 +0100 Subject: [PATCH] Disable warning about sqlite in production --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index fa203f7..ca7a203 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -87,6 +87,9 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false + # Do not warn about sqlite in production + config.active_record.sqlite3_production_warning = false + # Enable DNS rebinding protection and other `Host` header attacks. # config.hosts = [ # "example.com", # Allow requests from example.com -- GitLab