aboutsummaryrefslogtreecommitdiffstats
path: root/guides/.document
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-03-18 00:21:40 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-03-18 00:21:40 +0900
commitb707a448a34345cd0a6609b8bd57874f1325a96c (patch)
tree7cf62618b531886fe8caa9c4fac3d691684b41fe /guides/.document
parentd8d6bd5e63a9a4a6c06a4dde3c7137ee2be105fd (diff)
downloadrails-b707a448a34345cd0a6609b8bd57874f1325a96c.tar.gz
rails-b707a448a34345cd0a6609b8bd57874f1325a96c.tar.bz2
rails-b707a448a34345cd0a6609b8bd57874f1325a96c.zip
Tweak `truncate_tables`
* Remove redundant `table_names.empty?` * Early return in `truncate_tables` since it is already deeply nested * Move `truncate_tables` out from between `exec_delete` and `exec_update`
Diffstat (limited to 'guides/.document')
0 files changed, 0 insertions, 0 deletions