destroy_all_in_batches is off by default for newly generated Rails apps.

Following up https://github.com/rails/rails/pull/42673#issuecomment-874744582
This commit is contained in:
Roberto Miranda 2021-07-06 19:43:44 +01:00 committed by GitHub
parent d305be0742
commit 7834a783b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -27,9 +27,6 @@
config.active_record.destroy_all_in_batches = true config.active_record.destroy_all_in_batches = true
``` ```
The option is on by default for newly generated Rails apps. Can be set in
an initializer to prevent differences across environments.
*Genadi Samokovarov*, *Roberto Miranda* *Genadi Samokovarov*, *Roberto Miranda*
* Adds support for `if_not_exists` to `add_foreign_key` and `if_exists` to `remove_foreign_key`. * Adds support for `if_not_exists` to `add_foreign_key` and `if_exists` to `remove_foreign_key`.