Use a modern approach for cross-site request forgery protection by rosa · Pull Request #56350 · rails/rails
Motivation / Background
CSRF protection has always been a source of issues related to cached pages, stale tokens, the session being somehow cleared, all resulting in false positives. We still get t...
GitHub