aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-07-03 09:59:51 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-07-03 09:59:51 -0300
commit075f8b72418f2d2ce9c2038bd57139955f6e46ec (patch)
tree630e9784298cabf44998bf5d8c4d39af22924147 /activemodel/lib/active_model/errors.rb
parentf6d7a4d251cae3e425cb62898c50d3f070c69d4b (diff)
downloadrails-075f8b72418f2d2ce9c2038bd57139955f6e46ec.tar.gz
rails-075f8b72418f2d2ce9c2038bd57139955f6e46ec.tar.bz2
rails-075f8b72418f2d2ce9c2038bd57139955f6e46ec.zip
Add a missing require to allow the usage of Array#to_xml
Diffstat (limited to 'activemodel/lib/active_model/errors.rb')
-rw-r--r--activemodel/lib/active_model/errors.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index d42fc5291d..482b3dac47 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
require 'active_support/core_ext/array/wrap'
+require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/reverse_merge'