Currency as Japanese Yen doesn't have a minor unit, see RubyMoney/money#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.
Fix default_currency config that it accepts currency without minor unit
Thank you for this!