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
I had a similar problem. Solution was as simple as adding
<%= csrf_meta_tag %>
to the layout.