title: Working with the http://guides.rubyonrails.org/getting_started.html tutorial Destroy fails
body: <p>I am progressing through the Blog tutorial. 
  As directed, I have this in \views\articles\index.html.erb:</p>
  
  <pre><code>&lt;h1&gt;Listing Articles&lt;/h1&gt;
  &lt;%= link_to 'New article', new_article_path %&gt;
  &lt;table&gt;
    &lt;tr&gt;
      &lt;th&gt;Title&lt;/th&gt;
      &lt;th&gt;Text&lt;/th&gt;
      &lt;th colspan="3"&gt;&lt;/th&gt;
   &lt;/tr&gt;
  
    &lt;% @articles.each do |article| %&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;%= article.title %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= article.text %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= link_to 'Show', article_path(article) %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= link_to 'Edit', edit_article_path(article) %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= link_to 'Destroy', article_path(article),
                method: :delete,
                data: { confirm: 'Are you sure?' } %&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;% end %&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And I have this in \controllers\articles_controllers.erb :</p>
  
  <pre><code>def destroy
    @article = Article.find(params[:id])
    @article.destroy
  
    redirect_to articles_path
  end
  </code></pre>
  
  <p>Yet when I try to delete, I fail to get any 'Are you sure?' dialog, and the record fails to delete.</p>
  
  <p>What am I missing?</p>