Fixes #7647: Added support for external registries

No need to disable this cop, ```has_many :through``` works and you need to create the join table anyway.
https://github.com/bbatsov/rails-style-guide#has-many-through