aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-13 10:31:05 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-13 10:31:05 -0800
commit3fd2624be45cb3124641f53d9e520523d9bc49c9 (patch)
tree80d3cecaa904535747179c194f49aa82b4fa03c2 /activemodel
parentfbbf0086ca8f13f76d2969f655bb1bfc2f4eb4d6 (diff)
downloadrails-3fd2624be45cb3124641f53d9e520523d9bc49c9.tar.gz
rails-3fd2624be45cb3124641f53d9e520523d9bc49c9.tar.bz2
rails-3fd2624be45cb3124641f53d9e520523d9bc49c9.zip
Uses Hash#reverse_merge
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/translation.rb2
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