How do you figure out that a Parent model is trying to destroy it's children?

I have a simple acts_as_list model structure where the Language holds a lot of Wikis. I want to validate inside Wikis so as to not destroy the last Wiki in a Language. However, when the Language is destroyed, I want all the wikis associated with the Language to destroy themselves.

The solution seemed simple until I figured out that when I try to destroy a Language, the method fails at destroying the last Wiki. This is because I am trying to destroy the last Wiki in the Language. I need to, therefore, figure out a way to bypass the "last wiki validations" ONLY when I'm destroying a Language. Is there a conditional or a flag that lets me figure out that the parent is trying to destroy the children?

Here's my code, by the way:

You can define what happens to dependents in your Language model...

has_many :wikis, :dependent => :delete_all

If you don't want to :delete_all, you could simply :nullify

Huh. I didn't know delete bypasses the validations methods. Thank a lot!