This kata will teach you how to refactor a method with lot nested if-else statements. It will help you keep your controllers code elegant by minimizing the nested if-else statements in your Rails projects. This is based on one of the chapters in the TDD in Ruby book published by Apress.