ok , i just confirmed this. here is the problem my rails.js file i installed with jquery rails, is not properlly passing the csrf token so
"The request will also not include the required CSRF data, and as of Rails 3.0.4 the session is silently reset instead of throwing an ActionController::InvalidAuthenticityToken error. This is why you suspect the authentication issue lies with Devise, but it is actually being triggered within Rails itself." that is why i cant see the session from the destroy action, when i remove protect_from_forgery from the application_controller everything works ok , it also works if the request is not ajax based with protect_from_forgery enable. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.