Problem destroying some record with relations has_many has_o

Hi guys!

I’m developoning a small web-app, everything goes quickly and well!!

I need some help, im trying to destroy at the same time some records of
varius of my models. My model are relathionate with has_many, has_one.

What could be the best way to do it? Could i use act_as_a_tree or there
are other cool way?

Thanks

P.D: Sorry by my bad english