Rails Design Patterns: Presenter & Service Objects
Why do we need design patterns? The problem is that Rails architecture, Model-View-Controller, gives you a basic structure to put your code in. But this isn’t enough. Your views grow large & full of logic when their goal is to present information. Your controllers hold details beyond what’s necessary for the controller to do its … Read more