Is has_many => :through a violation of the Law of Demeter?
-
11-02-2021 - |
문제
If it is, what's its defence? And if it isn't, why isn't it?
해결책
I think it is declaring new neighbor, akin to delegation. OTOH, if it were possible, it might be getting a bit bad to do multiple :through levels... (Do I remember correctly that they made this possible lately?)
제휴하지 않습니다 StackOverflow