Concept Flow - CSRF protection
User sends form request
Rails adds CSRF token to form
User submits form with token
Rails receives request
Check token validity
Process
Action done
Rails adds a secret token to forms and checks it on submission to stop fake requests from other sites.