Pattern: Use of has_and_belongs_to_many
instead of has_many :through
Issue: -
This rule checks for the use of the has_and_belongs_to_many
macro. Using has_many :through
allows additional attributes and validations on the join model.
Attribute | Value |
---|---|
Include | app/models/**/*.rb |