Yorick Peterse
|
9606dbbb03
|
Whitelist existing destroy_all offenses
This whitelists all existing places where we use "destroy_all".
|
2018-08-16 17:29:37 +02:00 |
|
gfyoung
|
15b878e27e
|
Enable more frozen string in app/models/**/*.rb
Partially addresses #47424.
|
2018-08-07 00:37:36 -07:00 |
|
Shinya Maeda
|
ecf8287ce5
|
Use prepend: true to evaluate always perform_fast_destroy than dependent: :destroy
|
2018-05-04 20:47:23 +09:00 |
|
Shinya Maeda
|
dffc2cb7a3
|
Fix typo in fast_destroy_all
|
2018-05-03 20:12:25 +09:00 |
|
Shinya Maeda
|
c80949fdcd
|
Simplify FastDestroyAll module
|
2018-05-03 17:08:05 +09:00 |
|
Shinya Maeda
|
18ba092aec
|
Fix typo for comments in fast_destroy_all
|
2018-05-03 15:49:02 +09:00 |
|
Shinya Maeda
|
45dc7ae2d2
|
Clean up build_trace_chunk
|
2018-05-03 14:57:15 +09:00 |
|
Shinya Maeda
|
2fde2d6524
|
Fix static analysys
|
2018-05-02 21:30:39 +09:00 |
|
Shinya Maeda
|
9e65dc5377
|
Introduce use_fast_destroy helper for parent associations. Rename method names in build_trace_chunks. Forbid destroy method when FastDestroyAll included.
|
2018-05-02 15:55:55 +09:00 |
|
Shinya Maeda
|
1d53918b62
|
Introduces FastDestroyAll module
|
2018-05-01 17:06:44 +09:00 |
|