# Destroy\_all returns

**URL:** <https://www.ruby-forum.com/t/destroy-all-returns/134703>\
**Category:** Rails\
**Created:** [April 14, 2008, 9:39am UTC](https://www.ruby-forum.com/t/destroy-all-returns/134703 "2008-04-14T09:39:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rory\_McKinley](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@Rory\_McKinley](https://www.ruby-forum.com/u/Rory_McKinley)\
**Post date:** [April 14, 2008, 9:39am UTC](https://www.ruby-forum.com/t/destroy-all-returns/134703/1 "2008-04-14T09:39:13Z")

</div>

Hello list

I need to delete an object together with all its associated objects.  
Looking at the source code for the destroy\_all method, I cannot see what  
the destroy\_all method would return?

Is there anyway to determine from the destroy\_all method, whether it was  
completely successful or not (i.e. if the object, plus all it’s  
associated objects, was actually deleted).

Regards

Rory
