diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-18 04:29:49 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-18 08:12:59 +0900 |
commit | 358360198e623229495b7175a2b3a0fe96a543ac (patch) | |
tree | b5d093cd2390b97c326f6f166e13d9d5eb845ccc /activejob/test/adapters/inline.rb | |
parent | 9ac7dd47c5e847f7dbfb8d527ee2b917fa9fcd38 (diff) | |
download | rails-358360198e623229495b7175a2b3a0fe96a543ac.tar.gz rails-358360198e623229495b7175a2b3a0fe96a543ac.tar.bz2 rails-358360198e623229495b7175a2b3a0fe96a543ac.zip |
Ensure returning affected objects for class level `update` and `destroy`
Class level `update` and `destroy` are using `find` in the internal, so
it will raise `RecordNotFound` if given ids cannot find an object even
though the method already affect (update or destroy) to any objects.
These methods should return affected objects even in that case.
Diffstat (limited to 'activejob/test/adapters/inline.rb')
0 files changed, 0 insertions, 0 deletions