Refractored sign in form to be a form_tag not a form_for. Consequently changed controller to adjust to the new params shape.

Moved a common testing pattern (Logging in with valid details) to the spec support. Also moved an annoying CSS selector.
Added 'edit' and 'update' actions to the Users Controller.

Created 'edit' view for Users, based primarily off the 'create' view.

Added tests for the 'edit' view
Fleshed out the 'update' action in the Users controller, so that it actually updated a User.

Gave the 'Settings' link an actual path. Spec also written.

Popped Gravatar and link_to image edit into the 'edit' view

Updated spec support utility
Added flash message to 'update' action in User controller, to tell the user that their save was successful.

Tweaked labelling in 'edit' view to match up with spec.

Created customer matcher for success flash messages. Implemented it in two tests

Filled out spec for a successful editing of a user.
Added a filter on the edit and update actions to ensure that a user is signed in when trying to use either of those actions.
Added correct_user filter, to ensure that a user that edits a user profile is one and the same.

Fixed up mistype of the word capybara
Implemented friendly forwarding. Had to add new methods to the Sessions Helper to store the URL from which a user was bounced from before authenticating.
Added a users index page and index styling. This is required so that logged in users can see all the other registered users of the site, woo.

Added the index action to the Users controller, so that the full list of users can be passed to the index view.

Fixed the spec for someone going to the index page without being logged in. Put it to 'Sign in' instead of "Sign up".
Added proper test for the Users link and actually fleshed it out.
Added faker gem, in order to create fake users

Created populate rake task, in order to generate fake users
Added gems related to pagination, and added sequences to the user factory to enable testing on large amounts of test users.
Added pagination to the 'index' action for Users. This stops too many users from being displayed on the one page.

Refractored the index partial and Rails is certainly showing off how it's too clever for itself.

Refractored the index tests to adjust for pagination.
Added 'destroy' action to the users controller. Made it so that only admins can see delete links and delete users via the web view.

Created an admin attribute for users, to provide some users with additional priviledges.
Added filter on 'destroy' action in User controller, to ensure only admins can destroy users.
Merge pull request #10 from thomasgwatson/chap9

Chap9