Add microposts resource.
Add association between users and microposts.
Add dependency of microposts on users wnen users are destroyed.
Add corresponding tests.
Microposts content validation and tests.
Show user microposts in user profile page.
Add sample microposts to sample_data script.
Add tests for user microposts.
Add microposts controller with create and destroy actions.
Add tests to ensure create and destroy actions in microposts controller
are restricted to signed in users.
Refactor signed_in_user method to go into sessions_helper.
Add routes for microposts resources.
Create microposts, with validation and only for signed in users.
Generalise error_messages partial.
Change home page so it displays user's profile and post micropost form
for signed in users.
Tests for the above.
Add a microposts feed to the home page for signed in users.
Tests for the above.
Destroy microposts and tests
Exercises
10.5.1 Add test for the sidebar microposts count.
10.5.2 Add tests for micropost pagination.
Exercises
10.5.3 Refactor the Home page to use separate partials for the two
branches of the if-else statement.
Comment out the test for micropost pagination as it breaks other tests.
(Exercise 10.5.2)
Fix test for micropost pagination (Exercise 10.5.2)
Exercise 10.5.4 add test to make sure delete links do not appear for
microposts not created by the current user.
Exercise 10.5.5
Use partials to eliminate duplication of delete microposts link.
Exercise 10.5.6
Wrap long micropost content in home and user profile pages.
Add MicropostsHelper to wrap the microposts content.
Add commented out test for wrapping of micropost content. Test does not
work so, it needs to be fixed.
Re-formatting of static_pages_spec.rb
Exercise 10.5.7
Add a javascript display to the home page to count down from 140
characters.