aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorGreg Campbell <gtcampbell@gmail.com>2010-08-05 12:09:57 -0700
committerXavier Noria <fxn@hashref.com>2010-08-14 13:17:29 +0200
commit1577eafe77ce2a1aed3049dde34eac721b8e5aa5 (patch)
tree46f1eb35a6a86e320a2d4cf65940c44220387500 /activemodel/lib
parent8fdecaaef210355cb21da08daa44487549888bbf (diff)
downloadrails-1577eafe77ce2a1aed3049dde34eac721b8e5aa5.tar.gz
rails-1577eafe77ce2a1aed3049dde34eac721b8e5aa5.tar.bz2
rails-1577eafe77ce2a1aed3049dde34eac721b8e5aa5.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'