rsudekum/sample_app_three — pull request #1 by sinisterchipmunk (2012-07-15 18:53:26+00:00)
Title: Updated to fix specs and reflect application state at the end of chapter 10

The first migration, `20120711232738_create_users.rb`, seems to have
had its entire file content replaced with the content for the
`20120714233631_create_microposts.rb`. (Accidental copy-paste?).
Reverting to its original content resolves the migration issue.

The partial in `views/shared/_stats.html.erb` 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.

Ditto for the `follow_form` partial.

The `shared/feed` and `shared/feed_item` partials were incorrect
based on listing 10.42 and 10.47. I corrected them to reflect those
listings.

You forgot to assign `object: f.object` in your rendering of the
`error_messages` partial from `users/edit.html.erb`.

You used `confirm: "..."` in `users/_user.html.erb`. That's OK but
deprecated, so I changed it to `data: { confirm: "..." }` instead.

Ditto about `confirm` for `microposts/_microposts.html.erb`.

You forgot to add the code for `SessionsController#destroy`. This
is covered in listing 8.29. I added it.