The title pretty much explains it. I\'m having an odd situation where views that allow users to delete notifications using Ajax cause the current_user to be logged out. I don\'t
It turns out this had to do with changes to the Rails jQuery UJS driver and Devise. I had updated Devise without updating jQuery UJS -- and Devise was expecting the CSRF token to be handled differently, so it was processing the ajax request as unauthorized which meant destroying the current user's session. Upgrading to the latest jQuery Rails driver fixed the problem.