3 ms·
So what does the protect_from_forgery statement do? I've never seen that before.
by adammichaelc 16y ago
So what does the protect_from_forgery statement do? I've never seen that before.
- holman 16y agoI believe it was added in 2.3. It protects against CSRF attacks: http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection/ClassMethods.html http://api.rubyonrails.org/classes/ActionController/RequestF...