The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Functional Handler - A Pattern in Ruby

by mikefarmer — 22 January 2014

Sometimes we run across a case where we want to run several steps that are all dependent on the success of the previous step. Rather than munging together a bunch of conditionals, let’s take a page from functional programming to solve our problem.