Destroy_all returns

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).



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs