aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/adapters/inline.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-18 04:29:49 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-18 08:12:59 +0900
commit358360198e623229495b7175a2b3a0fe96a543ac (patch)
treeb5d093cd2390b97c326f6f166e13d9d5eb845ccc /activejob/test/adapters/inline.rb
parent9ac7dd47c5e847f7dbfb8d527ee2b917fa9fcd38 (diff)
downloadrails-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