The following is a longtime favorite guest post by Flatiron alum Kevin McNamee, a software engineer at Casper. When mapping associations between models in your Rails application, you will inevitably come to a point when two models both ‘has’ and ‘belongs_to’ each other. In this situation, you need to choose between a has_many :through relationship and a has_and_belongs_to_many relationship. Given
![Why You Don't Need Has_and_belongs_to_many Relationships - Flatiron School](https://cdn-ak-scissors.b.st-hatena.com/image/square/7bd292a132007bba79afaee96100342cae09fe74/height=288;version=1;width=512/http%3A%2F%2Fmedia.tumblr.com%2Ftumblr_md87mnnjhi1rtan47.png)