title: 'protect_from_forgery' in Application controller in Rails
body: <p>In the <code>config/application_controller.rb</code> file in my Rails application directory, I found the code below:</p>
  
  <pre><code>class ApplicationController &lt; ActionController::Base
    protect_from_forgery
  end
  </code></pre>
  
  <p>Can any one tell me what <code>project_from_forgery</code> means and why it is being used?</p>