diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-19 20:10:51 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-19 20:27:10 +0900 |
commit | 9e7260da1bdc0770cf4ac547120c85ab93ff3d48 (patch) | |
tree | c2b1c68bcb8d49245788a9e4484b1b69baad3eb4 /activerecord/test/cases/test_fixtures_test.rb | |
parent | 1118e2c28913be29d03b8a119cb086fe15dacc39 (diff) | |
download | rails-9e7260da1bdc0770cf4ac547120c85ab93ff3d48.tar.gz rails-9e7260da1bdc0770cf4ac547120c85ab93ff3d48.tar.bz2 rails-9e7260da1bdc0770cf4ac547120c85ab93ff3d48.zip |
Using subselect for `delete_all` with `limit` or `offset`
Arel doesn't support subselect generation for DELETE unlike UPDATE yet,
but we already have that generation in connection adapters. We can
simply use the subselect generated by that one.
Diffstat (limited to 'activerecord/test/cases/test_fixtures_test.rb')
0 files changed, 0 insertions, 0 deletions