:dependent not working

Hi all,
I know it’s stupid, i am having this problem that is :dependant option
work in all it’s
values [:destroy, :delete_all, :nullify].
child items don’t be deleted when parent item does.
any idea?

thanks in advance,
Mostafa Badawi


could you tell us a bit more? What is your association?
has_and_belongs_to_many, has_many, has_one… etc?

It’s *has_many.