diff options
author | Greg Campbell <gtcampbell@gmail.com> | 2010-08-05 12:09:57 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-14 13:17:29 +0200 |
commit | 1577eafe77ce2a1aed3049dde34eac721b8e5aa5 (patch) | |
tree | 46f1eb35a6a86e320a2d4cf65940c44220387500 /activemodel/lib | |
parent | 8fdecaaef210355cb21da08daa44487549888bbf (diff) | |
download | rails-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.rb | 1 |
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' |