Introduction
Has-many-through helps you get related data through another model easily. It saves time by linking models indirectly.
You want to get all posts written by authors of a specific country.
You need to list all comments on posts that belong to a certain user.
You want to find all orders placed by customers of a particular company.
You want to access all products sold by suppliers in a specific region.