RubyMoney/money-rails — pull request #224 by georgemillo (2014-09-25 14:43:18+00:00)
Title: Refactoring MoneyRails::ActiveModel::MoneyValidator#validate_each

This method was very long and complicated, and hard to read - and [https://codeclimate.com/github/RubyMoney/money-rails/MoneyRails::ActiveModel::MoneyValidator](the class is currently getting a D on CodeClimate).

Cleaned it up by splitting up the one method into several smaller methods; most of which are memoized for speed.