27 ms·
Interesting, because I realize I would not personally want that done with models, in my apps models/controllers frequently don't have a 1-1 relationship. But c
by jrochkind1 5y ago
Interesting, because I realize I would not personally want that done with models, in my apps models/controllers frequently don't have a 1-1 relationship.
But controllers and view templates almost always do, because of the nature of the architecture.
So actually just using the `view_component` gem for all my views from now on (not just partials) probably satisfies me!
- rubyist5eva 5y agoI don’t see what the benefit to view components are over simple views and partials though?