Fix for Rails 4.2

As instructed by https://github.com/RubyMoney/money-rails/issues/235#issuecomment-61981891