Permalink
Browse files

Remove method redefined warning

In `i18n` gem, the method definition of  `Hash#deep_merge!` is skipped
when it is already defined.

- warning: method redefined; discarding old deep_merge!
  • Loading branch information...
tricknotes committed Dec 28, 2012
1 parent 90397de commit c112721b44cc1b4446ee4e9e4080d2b630c0b09e
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/i18n.rb
@@ -1,4 +1,5 @@
begin
+ require 'active_support/core_ext/hash/deep_merge'
require 'i18n'
require 'active_support/lazy_load_hooks'
rescue LoadError => e

0 comments on commit c112721

Please sign in to comment.