Fat models and large actions have always been a problem for Rails developers, service objects came to help us but sometimes it feels like we just move the bad and hard to follow the code from controllers to plain ruby objects. But Waterfall gem seems to solve the problem. Let’s check it out. A waterfall is a new approach to service objects. The idea behind it is being functional: you can pass bloc
![How to Clear Out Your Controllers and Models with Waterfall Gem — Rubyroid Labs](https://cdn-ak-scissors.b.st-hatena.com/image/square/49e4f62e6de3616d22b687cf229051d7123b7d8d/height=288;version=1;width=512/https%3A%2F%2Frubyroidlabs.com%2Fblog%2Fwp-content%2Fuploads%2F2017%2F11%2Ftoday.jpg)