aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-08-23 04:05:34 -0700
committerXavier Noria <fxn@hashref.com>2011-08-23 04:05:34 -0700
commit45f8ca54c91b4f75ba0f91ffda970d2710ebab7b (patch)
tree53e1c82ff966406636e91d08b55bf6dd313fc587 /activemodel
parenteb18f3d74668c01b9ff565ad9c86a75ac9e62eb5 (diff)
parent1be3442a0a6df37525ff706fecfd65de7eae65cf (diff)
downloadrails-45f8ca54c91b4f75ba0f91ffda970d2710ebab7b.tar.gz
rails-45f8ca54c91b4f75ba0f91ffda970d2710ebab7b.tar.bz2
rails-45f8ca54c91b4f75ba0f91ffda970d2710ebab7b.zip
Merge pull request #2653 from luckydev/ser-wrap
Missing require array/wrap in serialization
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/serialization.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb
index 9260c5082d..b9f6f6cbbf 100644
--- a/activemodel/lib/active_model/serialization.rb
+++ b/activemodel/lib/active_model/serialization.rb
@@ -1,5 +1,7 @@
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/hash/slice'
+require 'active_support/core_ext/array/wrap'
+
module ActiveModel
# == Active Model Serialization