title: My Delete method is not working, after disabling "Turbo" in rails 7?
body: <p>I am working on rails 7. I'm trying to run my 'Delete' method after disabling 'Turbo' but its
  not working, it keeps getting to my 'show.html.erb' file instead of deleting the specific data. Here is my 'Delete' action code:</p>
  <pre><code>&lt;td&gt;
  
      &lt;%= link_to 'Delete', friend_path(friend),  data: { turbo:false ,confirm: 'Are you sure?'}, method: :delete, :class=&gt;&quot;btn btn-danger&quot;%&gt;
  
    &lt;/td&gt;
  </code></pre>
  <p>And below is the controller method to destroy/delete data:</p>
  <pre><code>def destroy 
  debugger
  @friend = Friend.find(params[:id])
  @friend.destroy
  
  if @friend.destroy
      redirect_to friends_path, notice: &quot;Deleted Successfully!!!&quot;
  else
    render :index, status: :unprocessable_entity
  </code></pre>
  <p>end</p>
  <p>end</p>