mirror of https://github.com/rails/rails
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:
parent
d305be0742
commit
7834a783b8
|
@ -27,9 +27,6 @@
|
|||
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*
|
||||
|
||||
* Adds support for `if_not_exists` to `add_foreign_key` and `if_exists` to `remove_foreign_key`.
|
||||
|
|
Loading…
Reference in New Issue