Exercise 7.6.1
Add optional size parameter to gravatar_for helper method
Exercise 7.6.2
Tests for sign up page error messages (need DRYing)
Exercise 7.6.3
Add tests to verify page contents after successfully saving a user
Exercise 7.6.4
Use content_tag helper to render messages in flash in application layout
User Sessions: sign in and out first steps
1. Add sessions controller.
2. Add basic logic to create sessions.
3. Include sessions helper in application controller to make it
available to all controllers.
4. Add 'sessions/new' view for sign in page.
5. Add named routes for sessions controller.
6. Add initial tests for authentication pages.
Add migration to add users remember_token and its index
User signin:
Add helper methods.
Add logic to create remember token and store it in permanent cookie.
Add links to top nav bar when user is signed id.
Add bootstrap javascript library for drop down menus in top nav bar.
Signin upon signup and signout functonality.
Tests for the above functionality.
Section 8.3.2
Add cucumber and cucumber tests to cover unsuccessful and successful
signin
Section 8.3.3
Add a helper method and a custom RSpec matcher