Adding indices for the relationships table
Testing Relationship creation and attributes
Testing for the user.relationships attribute
Implementing the user/relationships has_many association
Testing the user/relationships belongs_to association
Adding the belongs_to associations to the Relationship model
Testing the Relationship model validations
Adding the Relationship model validations
A test for the user.followed_users attribute
Adding the User model followed_users association
Tests for some following utility methods
The following? and follow! utility methods
A test for unfollowing a user
Unfollowing a user by destroying a user relationship
Testing for reverse relationships
Implementing user.followers using reverse relationships
Adding following/follower relationships to the sample data
Adding following and followers actions to the Users controller
Testing the following/follower statistics on the Home page
Adding _stats.html.erb file in app/views/shared directory