The protect_from_forgery
method isn't included in my application controller with a default Rails 6 app, but there's the embedded ruby <%= csrf_meta_tags %>
in the main application layout. Does this mean that the protect_from_forgery
method has been abstracted and is no longer explicitly needed in the application controller?
I've bought the Pragmatic Programmer's Rails 6 book and the only thing I could find was "the csrf_meta_tags() method sets up all the behind-the-scenes data needed to prevent cross-site request forgery attacks".
prepend: true
– Schottische