Extensive use of #Rails’ Active Support Concern is almost always an anti-pattern...

@tisba@ruby.social

Extensive use of #Rails’ Active Support Concern is almost always an anti-pattern. This “inheritance in a trench coat” approach requires A LOT of engineering discipline to not cause big headaches eventually.

It is certainly a big NO NO if you primarily try to structure your more complex models. I’ve yet to encounter a case where composition wouldn’t be a much better fit in these cases.