Simple e-mail service with Rails - Part 5: Grouping to Topics

You probably expect from your email client to group related emails into topics. And that’s exactly what we’re going to do today. TLDR: You can find the code in this GitHub repository. Every part has a corresponding commit. First, we have to create a new Topic model with its controller and views. bin/rails g scaffold Topic subject Each Message should also be connected to a Topic, so we ...