From c112721b44cc1b4446ee4e9e4080d2b630c0b09e Mon Sep 17 00:00:00 2001 From: Ryunosuke SATO Date: Sat, 29 Dec 2012 04:38:14 +0900 Subject: 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! --- activesupport/lib/active_support/i18n.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/i18n.rb b/activesupport/lib/active_support/i18n.rb index 188653bd9b..8d8bf02927 100644 --- a/activesupport/lib/active_support/i18n.rb +++ b/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 -- cgit v1.2.3