Skip to content

Commit

Permalink
Merge pull request #42673 from ghiculescu/patch-4
Browse files Browse the repository at this point in the history
Fix new framework defaults for `destroy_all_in_batches`
  • Loading branch information
eileencodes committed Jul 2, 2021
2 parents d7fce6c + 4e30b8d commit 56d8ff8
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 56d8ff8

Please sign in to comment.