aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorGreg Campbell <gtcampbell@gmail.com>2010-08-05 12:09:57 -0700
committerJosé Valim <jose.valim@gmail.com>2010-08-12 13:11:48 -0300
commit90a7915ab2cf29bebf2e7c4f67eb39e23278efd5 (patch)
tree4a533aca5dab5cdb3af0242fe2849e5801506ccb /activemodel/lib
parent6ed1ba472e0f649726d9a0d04056934d1afe4573 (diff)
downloadrails-90a7915ab2cf29bebf2e7c4f67eb39e23278efd5.tar.gz
rails-90a7915ab2cf29bebf2e7c4f67eb39e23278efd5.tar.bz2
rails-90a7915ab2cf29bebf2e7c4f67eb39e23278efd5.zip
Add missing ActiveModel::Validations require
[#5311 state: resolved] ActiveModel::Validations uses Hash#except, but does not require it from ActiveSupport. (This wasn't showing up in the tests, because it was required in the helper, and was also required in ActiveModel::Serialization). Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/validations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb
index 3407c59e7a..37429f2bb8 100644
--- a/activemodel/lib/active_model/validations.rb
+++ b/activemodel/lib/active_model/validations.rb
@@ -2,6 +2,7 @@ require 'active_support/core_ext/array/extract_options'
require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/hash/keys'
+require 'active_support/core_ext/hash/except'
require 'active_model/errors'
require 'active_model/validations/callbacks'