Commit d3a4f3e
committed
Add Rubocop exclusions for Rolify stuff
Since adding Rolify, we are triggering two significant Rubocop offenses:
- `has_and_belongs_to_many` is frowned upon in favor of
`has_many :through`, but Rolify still uses the former. There have been
many attempts to resolve this (see the Rolify issues and PRs) over the
past decade, but none have fully landed. It’s beyond us to try and
wrestle this into existence, so we’re going to make an exception and
move on.
- The HABTM join table has no timestamps, which is also frowned upon. We
genuinely don’t care, however, and so are making an exception.
Issue #2991 parent f9a9cfd commit d3a4f3e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
0 commit comments