8 ms·
While chained fetch looks a little clumsy, personally I prefer the composition, rather than adding another method and option to the language, which must be lear
by jacknews 5y ago
While chained fetch looks a little clumsy, personally I prefer the composition, rather than adding another method and option to the language, which must be learned in order to be used.
To me this is where rails projects can go wrong, when code starts to get too tightly dependent on all kinds of weird options and configured behavior in rails. It makes it difficult to read, even if you're fully versed in all of rails' nooks and crannies, and difficult to modify.