RailsConf 2021: Missing Guide to Service Objects in Rails - Riaz Virani
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=MCTwjE-vp2s
What happens with Rails ends and our custom business logic begins? Many of us begin writing "service objects", but what exactly is a service object? How do we break down logic within the service object? What happens when a step fails? In this talk, we'll go over some of the most common approaches to answering these questions. We'll survey options to handle errors, reuse code, organize our directories, and even OO vs functional patterns. There isn't a perfect pattern, but by the end, we'll be much more aware of the tradeoffs between them.
Other Videos By Confreaks
Tags:
Rails
RailsConf
RubyonRails
RubyCentral