title: Purpose of remote: true in rails
body: <p>I followed a rails tutorial where we submitted a form with ajax. We used <code>remote: true</code> in <code>form_for</code>:</p>
  
  <pre><code>&lt;%= form_for @task, remote: true do |f|   %&gt;
  </code></pre>
  
  <p>Everything works fine. But I'm confused about <code>remote: true</code>. What is the purpose of <code>remote: true</code>?</p>