I have many small pages that do not correspond to standard resource-based forms in my Rails 3.2.13 project. I am using Ajax calls from these forms to do POSTs. I'm getting the error:
WARNING: Can't verify CSRF token authenticity
which is causing my session to be invalidated and I'm redirected to the login page.
How can I include the CSRF stuff without using form_for
?