
technologyMar 13, 201857:32pending
RR 353: Removing Business Logic from Rails Controllers with Aaron Sumner
About this episode
Panel:
Advertising Inquiries: https://redcircle.com/brands
Privacy & Opt-Out: https://redcircle.com/privacy
Become a supporter of this podcast: https://www.spreaker.com/podcast/ruby-rogues--6102073/support.
- Charles Max Wood
- David Richards
- Aaron intro
- How to test code without controller tests?
- The cons to controller tests
- Soft deprecation
- If you’re not writing controller tests, what are you writing?
- Get the code out of the controllers and test it in more isolation
- Service objects
- Problem with a controller having a lot of business logic in it
- Rails
- Cons of service objects
- Using a service object inside of a controller
- Pros of service objects
- Getting smaller can happen step-wise
- Re-architecting should happen gradually not all at once
- When you write a service object, there is a flow to it
- How writing his book impacted his views
- Start small
- And much, much more!
- Everyday Rails
- Everyday Rails Testing with RSpec: A practical approach to test-driven development
- Ruby on Rails
- @EverydayRails
- Everyday Rails GitHub
- [email protected]
- No code
- Deleting code
- 30 for 30 Podcast
Advertising Inquiries: https://redcircle.com/brands
Privacy & Opt-Out: https://redcircle.com/privacy
Become a supporter of this podcast: https://www.spreaker.com/podcast/ruby-rogues--6102073/support.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Ruby Rogues

Autogenetic AI Agents and the Future of Ruby Development - RUBY 682
Ruby Rogues
Dec 24, 20251:00:35pending

The New Era of Rails: Markdown, Offline Mode, and Smarter Dev Tools - RUBY 681
Ruby Rogues
Nov 23, 202535:08pending

Keeping Ruby Welcoming: A Conversation We Need to Have - RUBY 680
Ruby Rogues
Nov 14, 202541:48pending

Inside the RubyGems Controversy: Transparency, Trust, and the Future of Ruby Cen...
Ruby Rogues
Nov 1, 202550:58pending