diff --git a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb index 11ba0605e0..9ae27a896a 100644 --- a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb +++ b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb @@ -31,7 +31,7 @@ module ActiveSupport defaults = default_format_options.merge(i18n_opts) # Override negative format if format options is given defaults[:negative_format] = "-#{opts[:format]}" if opts[:format] - defaults.merge(opts) + defaults.merge!(opts) end end