Add sample relationships
Update users in relationships
Test following and followers page
Generate controller Relationships
Basic access control tests for relationships
Create methods create and destroy, and call before_action :logged_in_user
Update method from empty to working code
Add remote:true to respond to AJAX
Add respond_to to methods so they can respond to js and to AJAX
Configuration needed for graceful degradation of form submission
Fix bug in method destroy
Javascript embedded Ruby to create and destroy a following relationship
Test for the follow and unfollow buttons