RubyMoney/money-rails — pull request #92 by ashchan (2013-03-23 09:50:12+00:00)
Title: Let default currency config accept currency without minor unit

Currency as Japanese Yen doesn't have a minor unit, see https://github.com/RubyMoney/money/pull/101

When setting such currency as default, the current implementation will raise NoMethodError since it tries to use the minor unit value.

This fixes that by checking if the unit value is present.