From d365fd51d72cc1f8bcb061f182d1d183bc031c95 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 5 May 2015 12:56:26 +0200 Subject: [PATCH] Follow up: Added 'Rails/HasAndBelongsToMany' to the StyleGuide. --- .rubocop.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 46d90a820..423033198 100644 --- a/.rubocop.yml +++ b/.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