Browse Source

Follow up: Added 'Rails/HasAndBelongsToMany' to the StyleGuide.

Thorsten Eckel 9 years ago
parent
commit
d365fd51d7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .rubocop.yml

+ 2 - 0
.rubocop.yml

@@ -146,6 +146,8 @@ Rails/FindEach:
   Enabled: false
 
 Rails/HasAndBelongsToMany:
+  Description: 'Prefer has_many :through to has_and_belongs_to_many.'
+  StyleGuide: 'https://github.com/bbatsov/rails-style-guide#has-many-through'
   Enabled: false