Note that there are some explanatory texts on larger screens.

plurals
  1. POMicropost - Routing Error No route matches [GET] - Deleting a Micropost
    primarykey
    data
    text
    <p>I'm reading through Hartl's book, Ruby on Rails by Example. In chapter 11, it has you implement delete requests to allow users to delete microposts on their profile. However when I click the delete button, I receive this routing error: No route matches [GET] /microposts/303"</p> <p>I've found similar posts with other people who have had the same problem. But no one seems to have figured out a clear way to resolve this issue. Maybe it is just too late at night but I am stumped. I know it has something to do with the js file or jquery.</p> <p>Can you please help?</p> <p>Here are the other posts detailing the same problem:</p> <p><a href="https://stackoverflow.com/questions/8264385/jquery-not-working-at-delete-action-on-michael-hartls-tutorial-chapter-11">jQuery not working at delete action on Michael Hartl&#39;s tutorial, chapter 11</a></p> <p><a href="https://stackoverflow.com/questions/8236124/routing-error-no-route-matches-get-microposts-304-deleting-a-micropost-m">Routing Error No route matches [GET] &quot;/microposts/304 - Deleting a Micropost - Michael Hartl&#39;s railstutorial.org Chapter 11</a></p> <p><a href="https://stackoverflow.com/questions/5871875/no-route-matches-error-on-delete-of-micropost-in-chapter-11-of-hartls-ruby-on">&#39;No route matches&#39; Error on Delete of Micropost in Chapter 11 of Hartl&#39;s ruby-on-rails tutorial - completely stumped</a></p> <p><a href="http://www.techques.com/question/1-5871875/%27No-route-matches%27-Error-on-Delete-of-Micropost-in-Chapter-11-of-Hartl%27s-ruby-on-rails-tutorial---completely-stumped." rel="nofollow noreferrer">http://www.techques.com/question/1-5871875/'No-route-matches'-Error-on-Delete-of-Micropost-in-Chapter-11-of-Hartl's-ruby-on-rails-tutorial---completely-stumped.</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload