RubyMoney/money-rails — pull request #158 by zuzara (2014-01-22 02:50:47+00:00)
Title: Catch ArgumentError in mongoize related to #114

A sting object with '-' hyphen in the middle of the string causes an ArgumentError exception when Money object is initialized. It should be caught in order to make validation in model working.

This commit is only for mongoid3. (I did test with rake spec:mongoid3) It may require additional code for other drivers.