Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Please see my pull request: <a href="https://github.com/rsudekum/sample_app_three/pull/1" rel="nofollow">https://github.com/rsudekum/sample_app_three/pull/1</a></p> <p>Here are my notes as I cloned the application and investigated the errors. Please note that I started my investigation <em>before</em> the comments to the answer were posted, so I may have noted things you already knew about. Regardless, all specs are now passing on my machine. I tried to make the application resemble the state of the tutorial at the end of chapter 10, but I've never followed this tutorial, so it may not be an exact match.</p> <p>The first migration, <code>20120711232738_create_users.rb</code>, seems to have had its entire file content replaced with the content for the <code>20120714233631_create_microposts.rb</code>. (Accidental copy-paste?) Reverting to its original content resolves the migration issue.</p> <p>The partial in <code>views/shared/_stats.html.erb</code> was missing. Since you said you had just completed chapter 10, and this partial is not introduced until chapter 11, I decided to comment out the reference to it instead of updating the partial itself, because the partial makes references to things not discussed until chapter 11.</p> <p>Ditto for the <code>follow_form</code> partial.</p> <p>The <code>shared/feed</code> and <code>shared/feed_item</code> partials were incorrect based on listing 10.42 and 10.47. I corrected them to reflect those listings.</p> <p>You forgot to assign <code>object: f.object</code> in your rendering of the <code>error_messages</code> partial from <code>users/edit.html.erb</code>.</p> <p>You used <code>confirm: "..."</code> in <code>users/_user.html.erb</code>. That's OK but deprecated, so I changed it to <code>data: { confirm: "..." }</code> instead.</p> <p>Ditto about <code>confirm</code> for <code>microposts/_microposts.html.erb</code>.</p> <p>You forgot to add the code for <code>SessionsController#destroy</code>. This is covered in listing 8.29. I added it.</p>
    singulars
    1. This table or related slice is empty.
    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.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      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