diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-08 13:33:18 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-08 13:34:07 -0700 |
commit | 86fc43fd584726ba81b1a3b3e0a6f6000c1f4cc8 (patch) | |
tree | ae5b6811931cb2903bf3a54a7211316f4e43589e /actionpack/lib/action_dispatch/middleware | |
parent | 00ee990443189649e481b2c30945e7a1029d8280 (diff) | |
download | rails-86fc43fd584726ba81b1a3b3e0a6f6000c1f4cc8.tar.gz rails-86fc43fd584726ba81b1a3b3e0a6f6000c1f4cc8.tar.bz2 rails-86fc43fd584726ba81b1a3b3e0a6f6000c1f4cc8.zip |
ActionPack components should no longer have undeclared dependencies.
* Tests can be run in isolation
* Dependencies added
* A few tests modified to avoid depending on AS deps
not depended on my files they were testing
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/show_exceptions.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb b/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb index 8f448970d9..1d9efc2b36 100644 --- a/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb @@ -1,3 +1,4 @@ +require "active_support/core_ext/kernel/requires" begin require_library_or_gem 'memcache' diff --git a/actionpack/lib/action_dispatch/middleware/show_exceptions.rb b/actionpack/lib/action_dispatch/middleware/show_exceptions.rb index bfff307669..036deec6d2 100644 --- a/actionpack/lib/action_dispatch/middleware/show_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/show_exceptions.rb @@ -1,3 +1,5 @@ +require "active_support/core_ext/exception" + module ActionDispatch class ShowExceptions include StatusCodes |