title: explain what's wrong with delete and destroy?
body: <p>Not able to delete the data stored in the database pls help?</p>
  
  <p>this is my sages_controller.rb</p>
  
  <pre><code>def delete
     @sage = Sage.find(params[:id])
  end
  
    def destroy
      Sage.find(params[:id]).destroy
      redirect_to '/thanksss'
    end
  </code></pre>
  
  <p>this is my delete.html.erb</p>
  
  <pre><code>&lt;%= form_for @sage do |f| %&gt;
      &lt;%= f.label :Name %&gt;
      &lt;%= f.text_field :Name %&gt;
      &lt;br/&gt;
      &lt;%= f.label :Email %&gt;
      &lt;%= f.text_field :Email %&gt;
      &lt;br/&gt;
      &lt;%= f.label :Address %&gt;
      &lt;%= f.text_field :Address %&gt;
      &lt;br/&gt;
      &lt;%= f.label :Number %&gt;
      &lt;%= f.text_field :Number %&gt;
      &lt;br/&gt;
      &lt;%= f.submit 'Delete' %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>this is my routes.rb</p>
  
  <pre><code>get 'sages/delete/:id'=&gt; 'sages#delete'
  delete 'sages/delete/:id'=&gt; 'sages#destroy'
  </code></pre>