]> git.openstreetmap.org Git - rails.git/commitdiff
Enable automatic scope inversing
authorTom Hughes <tom@compton.nu>
Mon, 21 Feb 2022 19:11:28 +0000 (19:11 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 21 Feb 2022 19:11:58 +0000 (19:11 +0000)
config/initializers/new_framework_defaults_7_0.rb

index 2c1e76822cfc4e7f197e80832acb3dae973cedd8..6196fd43804d8b7478a28e7f9c7e60c751ce00eb 100644 (file)
@@ -62,7 +62,7 @@ Rails.application.config.active_storage.video_preview_arguments =
   "-vf 'select=eq(n\\,0)+eq(key\\,1)+gt(scene\\,0.015),loop=loop=-1:size=2,trim=start_frame=1' -frames:v 1 -f image2"
 
 # Automatically infer `inverse_of` for associations with a scope.
-Rails.application.config.active_record.automatic_scope_inversing = true
+Rails.application.config.active_record.automatic_scope_inversing = true
 
 # Raise when running tests if fixtures contained foreign key violations
 Rails.application.config.active_record.verify_foreign_keys_for_fixtures = true