diff options
author | Nick Sieger <nick@nicksieger.com> | 2008-11-08 03:49:25 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-11-08 03:49:54 +0530 |
commit | 529c2716992490a6eab55486788ca0d35c17e60b (patch) | |
tree | af3f5ebe0568b167f33c4783b084415dbfa51b73 /actionpack/lib | |
parent | d3ec1d3c22904c8801945b56956466f8ead9f3c1 (diff) | |
download | rails-529c2716992490a6eab55486788ca0d35c17e60b.tar.gz rails-529c2716992490a6eab55486788ca0d35c17e60b.tar.bz2 rails-529c2716992490a6eab55486788ca0d35c17e60b.zip |
Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. [Nick Sieger, Pratik Naik]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/dispatcher.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/dispatcher.rb b/actionpack/lib/action_controller/dispatcher.rb index f3e173004a..2d5e80f0bb 100644 --- a/actionpack/lib/action_controller/dispatcher.rb +++ b/actionpack/lib/action_controller/dispatcher.rb @@ -23,7 +23,6 @@ module ActionController if defined?(ActiveRecord) after_dispatch :checkin_connections - before_dispatch { ActiveRecord::Base.verify_active_connections! } to_prepare(:activerecord_instantiate_observers) { ActiveRecord::Base.instantiate_observers } end |