RubyFlow The Ruby and Rails community linklog

Extract a service object using SimpleDelegator

It’s now more than 1 year since I released the first beta release of the “Fearless Refactoring: Rails controllers” book. Many of the book readers were pointing to the one technique which was especially useful to them - extracting a service object using SimpleDelegator. This technique allows to extract controller actions into service objects within minutes, if not seconds.

I decided to share the chapter for free in the Extract a service object using SimpleDelegator blogpost.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in