]> git.openstreetmap.org Git - rails.git/commitdiff
Enable variant tracking for Active Storage
authorTom Hughes <tom@compton.nu>
Mon, 17 May 2021 18:29:12 +0000 (19:29 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 17 May 2021 18:29:12 +0000 (19:29 +0100)
config/initializers/new_framework_defaults_6_1.rb

index da7570c6e57431c8fb7ccdd01707f7366a10a61d..b4fa472140f3f2f928baa79ebb22108dd696831e 100644 (file)
@@ -10,7 +10,7 @@
 Rails.application.config.active_record.has_many_inversing = true
 
 # Track Active Storage variants in the database.
 Rails.application.config.active_record.has_many_inversing = true
 
 # Track Active Storage variants in the database.
-Rails.application.config.active_storage.track_variants = true
+Rails.application.config.active_storage.track_variants = true
 
 # Apply random variation to the delay when retrying failed jobs.
 Rails.application.config.active_job.retry_jitter = 0.15
 
 # Apply random variation to the delay when retrying failed jobs.
 Rails.application.config.active_job.retry_jitter = 0.15