Skip to content

Commit

Permalink
Fix new framework defaults for destroy_all_in_batches
Browse files Browse the repository at this point in the history
Small issue from #40445, the configuration should be commented out by default.
  • Loading branch information
ghiculescu committed Jul 1, 2021
1 parent f263530 commit 4e30b8d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -43,6 +43,6 @@
# of the video).
# 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"
#

# Enforce destroy in batches when calling ActiveRecord::Relation#destroy_all
Rails.application.config.active_record.destroy_all_in_batches = true
# Rails.application.config.active_record.destroy_all_in_batches = true

0 comments on commit 4e30b8d

Please sign in to comment.