has_many :airlinememberships, :dependent => :destroy
That should do the trick. Look it up for more info.
–Tyler Prete