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



Duration: 30:56
126 views
6


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


2022-09-28RailsConf 2021: Frontendless Rails frontend - Vladimir Dementyev
2022-09-28RailsConf 2021: The Cost of Data - Vaidehi Joshi
2022-09-28RailsConf 2021: The Curious Case of the Bad Clone - Ufuk Kayserilioglu
2022-09-28RailsConf 2021: What is Developer Empathy? - Tim Tyrrell
2022-09-28RailsConf 2021: Scaling Rails API to Write-Heavy Traffic - Takumasa Ochi
2022-09-28RailsConf 2021: Growing Software From Seed - Sweta Sanghavi
2022-09-28RailsConf 2021: How To Get A Project Unstuck - Sumana Harihareswara
2022-09-28RailsConf 2021: All you need to know to build Dynamic Forms (JS FREE) - Santiago Bartesaghi
2022-09-28RailsConf 2021: You Are Your Own Worst Critic - Ryan Brushett
2022-09-28RailsConf 2021: Accessibility is a Requirement - Ryan Boone
2022-09-28RailsConf 2021: Missing Guide to Service Objects in Rails - Riaz Virani
2022-09-28RailsConf 2021: New dev, old codebase: A series of mentorship stories - Ramón Huidobro
2022-09-28RailsConf 2021: How to be a great developer without being a great coder - Nicole Carpenter
2022-09-28RailsConf 2021: Can I break this?: Writing resilient “save” methods - Nathan Griffith
2022-09-28RailsConf 2021: A Third Way For Open-Source Maintenance - Nate Berkopec
2022-09-28RailsConf 2021: How Reference Librarians Can Help Us Help Each Other - Mike Calhoun
2022-09-28RailsConf 2021: Writing design docs for wide audiences - Michele Titolo
2022-09-28RailsConf 2021: Rescue Mission Accomplished - Mercedes Bernard
2022-09-28RailsConf 2021: rails db:migrate:even_safer - Matt Duszynski
2022-09-28RailsConf 2021: Using Rails to communicate with the New York Stock Exchange - Martin Jaime
2022-09-28RailsConf 2021: API Optimization Tale: Monitor, Fix and Deploy (on Friday) - Maciek Rzasa



Tags:
Rails
RailsConf
RubyonRails
RubyCentral