@nateberkopec I'm not sure you are talking about this, but I have been using ViewComponents to solve those missing contract issues. No more random `@variable` defined in before_action hook in some controller concern being acessed on view templates, you have to provide everything that view needs to be rendered

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies