cookpad/chanko — pull request #35 by gfx (2013-12-05 11:35:56+00:00)
Title: better error handling: raise Chanko::ActiveIf::NoConditionFound for undefined conditions

The `active_if` runner raises NoMethodError for nil:NilClass if a specified condition is not defined, but it is not clear.

This patches fixes it to raise Chanko::ActiveIf::NoConditionFound to clarify what happens.

@hotchpotch @r7kamura Can you review this p-r please?