Adding a HasAndBelongsToMany relationship to reproduce a Rails 4.1 bug
Fixing Rails 4.1 HasAndBelongsToMany behavior