Using ruby reduce method for refactoring.
Using ruby 'reduce' method for refactoring our frequently used code.   Assume we have Employ...
Tags: ruby, rails, refactoring