How to work with CSRF token while AJAX posting in Rails 3.1.
Hi Railities Here is a tip on how to work with CSRF token while ajax posting in rails 3.1. Query:- While we are doing AJAX post , automatically the current session destroys in rails 3, and the current user automatically logged out. Description for the query:- While creating a rails app it creats a CSRF(Cross…
read more