Strange issue in Devise with rails 3.0.5

Hello guys,
I am using Devise with rails 3.0.5 and ruby 1.8.7 whenever i am trying
to call a delete action through Ajax devise logged out i don't know
what is the problem ..

i am calling a destroy action using Ajax updater and its logged me
out, one reason i found out by searching is to include crf tag in your
application layout which i did but still it the same problem arises..