diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-13 10:31:05 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-13 10:31:05 -0800 |
commit | 3fd2624be45cb3124641f53d9e520523d9bc49c9 (patch) | |
tree | 80d3cecaa904535747179c194f49aa82b4fa03c2 | |
parent | fbbf0086ca8f13f76d2969f655bb1bfc2f4eb4d6 (diff) | |
download | rails-3fd2624be45cb3124641f53d9e520523d9bc49c9.tar.gz rails-3fd2624be45cb3124641f53d9e520523d9bc49c9.tar.bz2 rails-3fd2624be45cb3124641f53d9e520523d9bc49c9.zip |
Uses Hash#reverse_merge
-rw-r--r-- | activemodel/lib/active_model/translation.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/translation.rb b/activemodel/lib/active_model/translation.rb index 2ad8ca9dea..42ca463f82 100644 --- a/activemodel/lib/active_model/translation.rb +++ b/activemodel/lib/active_model/translation.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/hash/reverse_merge' + module ActiveModel module Translation include ActiveModel::Naming |