RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: testing xPro Episodes xControllers x
Service Objects
Episode #398Dec 18, 2012114 comments

Service Objects

Models can quickly become a grab-bag of unrelated methods if behavior is constantly being pushed from the controller. Here I show how to refactor this using Concerns and Service Objects. (12 minutes)