Video

Want to see the full-length video right now for free?

Sign In with GitHub for Free Access

Notes

When building an application it's quite common to want to model relationships between users that can follow each other. We'll dive into implementing this step by step in order to setup the correct associations in ActiveRecord. We'll also use the patterns we've learned to create useful view helpers. Additionally we'll look into adding counter caches for our follower and followed user counts for a more performant application. Finally we'll build out a timeline that features the shouts of the user as well as everyone they follow