Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Service Objects

#398 Service Objects pro

Dec 18, 2012 | 12 minutes | Refactoring, Controllers, Rails 4.0
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.