aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2010-08-11 21:56:22 +0200
committerJosé Valim <jose.valim@gmail.com>2010-09-02 11:54:04 +0200
commit38a421b34d0b414564e919f67d339fac067a56e6 (patch)
tree049be1f37edf18d380b9e8716e2a3165b67be71e /activemodel/lib
parentc5c839f75f332b02f85fc74f5d1b1347cba411ff (diff)
downloadrails-38a421b34d0b414564e919f67d339fac067a56e6.tar.gz
rails-38a421b34d0b414564e919f67d339fac067a56e6.tar.bz2
rails-38a421b34d0b414564e919f67d339fac067a56e6.zip
Setup explicit requires for files with exceptions. Removed them from autoloading.
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/validator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/validator.rb b/activemodel/lib/active_model/validator.rb
index 1262d305d1..d424c7ba1d 100644
--- a/activemodel/lib/active_model/validator.rb
+++ b/activemodel/lib/active_model/validator.rb
@@ -1,6 +1,7 @@
require 'active_support/core_ext/array/wrap'
require "active_support/core_ext/module/anonymous"
require 'active_support/core_ext/object/blank'
+require 'action_controller/metal/exceptions'
module ActiveModel #:nodoc: