In this episode, we dive into the database structure for followers and following (it’s always quite complex), then make the follow and unfollow buttons work in the UI, while also testing the controller action using request specs.

Discussion (0)

To comment you need to sign up for a free account or sign in.

Unlock 7 Hotwire tricks every Rails dev should know ⚡️

Level up your Rails skills with 7 powerful Turbo techniques in my free Hotwire Cheatsheet. Subscribe for updates on new videos, courses & more — no spam, just gems.